From a4ff46823c0effbcc3d41c8720cfa141b8e2cc66 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 7 Feb 2022 08:40:55 +0100 Subject: [PATCH] winedevice: Enable compilation with long types. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- 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;