Rémi Bernon : winehid.sys: Build with nameless unions.
Alexandre Julliard
julliard at winehq.org
Tue Feb 1 15:21:34 CST 2022
Module: wine
Branch: master
Commit: eb9da265d3b459be78c9baf0a6293528be1bc0c6
URL: https://source.winehq.org/git/wine.git/?a=commit;h=eb9da265d3b459be78c9baf0a6293528be1bc0c6
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Tue Feb 1 09:35:50 2022 +0100
winehid.sys: Build with nameless unions.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
More information about the wine-cvs
mailing list