Pack smartcard channel structs to 1 byte alignment
#include <winpr/stream.h>
#include <winpr/smartcard.h>
+#pragma pack(push, 1)
+
/* interface type_scard_pack */
/* [unique][version][uuid] */
@@ -438,6 +440,8 @@ typedef struct _WriteCacheW_Call
WriteCache_Common Common;
} WriteCacheW_Call;
+#pragma pack(pop)
+
#define SMARTCARD_COMMON_TYPE_HEADER_LENGTH 8
#define SMARTCARD_PRIVATE_TYPE_HEADER_LENGTH 8
