[PATCH 3/3] winehid.sys: Build with nameless unions.

Rémi Bernon rbernon at codeweavers.com
Tue Feb 1 02:35:50 CST 2022


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/winehid.sys/main.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/winehid.sys/main.c b/dlls/winehid.sys/main.c
index a807c0da097..ca549ab4728 100644
--- a/dlls/winehid.sys/main.c
+++ b/dlls/winehid.sys/main.c
@@ -20,8 +20,6 @@
 
 #include <stdarg.h>
 
-#define NONAMELESSUNION
-
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
 #include "windef.h"
@@ -36,7 +34,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(hid);
 
 static NTSTATUS WINAPI internal_ioctl(DEVICE_OBJECT *device, IRP *irp)
 {
-    NTSTATUS status = irp->IoStatus.u.Status;
+    NTSTATUS status = irp->IoStatus.Status;
     IO_STACK_LOCATION *irpsp = IoGetCurrentIrpStackLocation(irp);
     ULONG code = irpsp->Parameters.DeviceIoControl.IoControlCode;
 
-- 
2.34.1




More information about the wine-devel mailing list