fixed 64-bit cmd/arg for windows

This commit is contained in:
roel@libnfc.org committed 2012-12-09 13:00:19 +00:00
1 parent 80501bad5b
commit 9440213d6b
4 files changed
+21 -13

No files matched your search

+2 -2
View File
@@ -35,10 +35,10 @@ typedef struct {
#define USB_CMD_DATA_SIZE 512
typedef struct {
uint32_t cmd;
uint64_t cmd;
uint64_t arg[3];
union {
uint8_t asBytes[USB_CMD_DATA_SIZE];
uint8_t asBytes[USB_CMD_DATA_SIZE];
uint32_t asDwords[USB_CMD_DATA_SIZE/4];
} d;
} PACKED UsbCommand;