winedevice: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-07 08:40:55 +01:00 committed by Alexandre Julliard
parent b0319099d0
commit a4ff46823c
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = winedevice.exe MODULE = winedevice.exe
IMPORTS = advapi32 ntoskrnl IMPORTS = advapi32 ntoskrnl

View File

@ -86,7 +86,7 @@ static DWORD device_handler( DWORD ctrl, const WCHAR *driver_name )
break; break;
default: 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; break;
} }
@ -113,7 +113,7 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, LPVOID event_
SetEvent( stop_event ); SetEvent( stop_event );
return NO_ERROR; return NO_ERROR;
default: 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, set_service_status( service_handle, SERVICE_RUNNING,
SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN ); SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN );
return NO_ERROR; return NO_ERROR;