Rémi Bernon : winehid.sys: Build with nameless unions.
Module: wine Branch: master Commit: eb9da265d3b459be78c9baf0a6293528be1bc0c6 URL: https://source.winehq.org/git/wine.git/?a=commit;h=eb9da265d3b459be78c9baf0a... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Tue Feb 1 09:35:50 2022 +0100 winehid.sys: Build with nameless unions. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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;
participants (1)
-
Alexandre Julliard