[PATCH 14/24] programs/winedevice: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Mon Feb 7 01:40:55 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 programs/winedevice/Makefile.in |    1 -
 programs/winedevice/device.c    |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/programs/winedevice/Makefile.in b/programs/winedevice/Makefile.in
index dd5349418a9..6f3868013d1 100644
--- a/programs/winedevice/Makefile.in
+++ b/programs/winedevice/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = winedevice.exe
 IMPORTS   = advapi32 ntoskrnl
 
diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c
index 07a76b911e9..0a96307a017 100644
--- a/programs/winedevice/device.c
+++ b/programs/winedevice/device.c
@@ -86,7 +86,7 @@ static DWORD device_handler( DWORD ctrl, const WCHAR *driver_name )
         break;
 
     default:
-        FIXME( "got driver ctrl %x for %s\n", ctrl, wine_dbgstr_w(driver_name) );
+        FIXME( "got driver ctrl %lx for %s\n", ctrl, wine_dbgstr_w(driver_name) );
         break;
     }
 
@@ -113,7 +113,7 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, LPVOID event_
         SetEvent( stop_event );
         return NO_ERROR;
     default:
-        FIXME( "got service ctrl %x for %s\n", ctrl, wine_dbgstr_w(service_group) );
+        FIXME( "got service ctrl %lx for %s\n", ctrl, wine_dbgstr_w(service_group) );
         set_service_status( service_handle, SERVICE_RUNNING,
                             SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN );
         return NO_ERROR;




More information about the wine-devel mailing list