https://git.reactos.org/?p=reactos.git;a=commitdiff;h=837411e2927770ba60ebc…
commit 837411e2927770ba60ebcf12bd5c3496e0dcfe5b
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Fri May 11 15:42:19 2018 +0200
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Fri May 11 15:44:19 2018 +0200
[USBOHCI_NEW] Fix build.
---
drivers/usb/usbohci_new/usbohci.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/usbohci_new/usbohci.h b/drivers/usb/usbohci_new/usbohci.h
index 4d468b5991..8bf703e6a5 100644
--- a/drivers/usb/usbohci_new/usbohci.h
+++ b/drivers/usb/usbohci_new/usbohci.h
@@ -50,7 +50,7 @@ typedef union DECLSPEC_ALIGN(32) _OHCI_HW_TRANSFER_DESCRIPTOR {
} OHCI_HW_TRANSFER_DESCRIPTOR, *POHCI_HW_TRANSFER_DESCRIPTOR;
C_ASSERT(sizeof(OHCI_HW_TRANSFER_DESCRIPTOR) == 32);
-C_ASSERT(_alignof(OHCI_HW_TRANSFER_DESCRIPTOR) == 32);
+C_ASSERT(__alignof(OHCI_HW_TRANSFER_DESCRIPTOR) == 32);
typedef struct _OHCI_HCD_TD {
/* Hardware part */
@@ -79,7 +79,7 @@ typedef struct _OHCI_HCD_ED {
ULONG Flags;
LIST_ENTRY HcdEDLink;
#ifdef _WIN64
- ULONG Pad[6];
+ ULONG Pad[6];
#else
ULONG Pad[8];
#endif
@@ -259,7 +259,7 @@ OHCI_RH_EnableIrq(
IN PVOID ohciExtension);
OHCI_REG_RH_DESCRIPTORA
-NTAPI
+NTAPI
OHCI_ReadRhDescriptorA(
IN POHCI_EXTENSION OhciExtension);