Eric Pouech : winedevice: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Mon Feb 7 15:56:04 CST 2022


Module: wine
Branch: master
Commit: a4ff46823c0effbcc3d41c8720cfa141b8e2cc66
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a4ff46823c0effbcc3d41c8720cfa141b8e2cc66

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Feb  7 08:40:55 2022 +0100

winedevice: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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-cvs mailing list