[USBPORT] Fix x64 build.

This commit is contained in:
Thomas Faber 2018-05-12 09:42:52 +02:00
parent 337e7322a6
commit 0ce31759d0
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
2 changed files with 6 additions and 6 deletions

View file

@ -394,7 +394,7 @@ typedef struct _USBPORT_DEVICE_EXTENSION {
#if !defined(_M_X64)
ULONG Padded[64];
#else
ULONG Padded[0];
ULONG Padded[30];
#endif
} USBPORT_DEVICE_EXTENSION, *PUSBPORT_DEVICE_EXTENSION;
@ -402,7 +402,7 @@ typedef struct _USBPORT_DEVICE_EXTENSION {
#if !defined(_M_X64)
C_ASSERT(sizeof(USBPORT_DEVICE_EXTENSION) == 0x500);
#else
C_ASSERT(sizeof(USBPORT_DEVICE_EXTENSION) == 0x690);
C_ASSERT(sizeof(USBPORT_DEVICE_EXTENSION) == 0x700);
#endif
typedef struct _USBPORT_RH_DESCRIPTORS {