diff --git a/programs/plugplay/Makefile.in b/programs/plugplay/Makefile.in index 3a491d137b0..137ea28ba43 100644 --- a/programs/plugplay/Makefile.in +++ b/programs/plugplay/Makefile.in @@ -1,4 +1,3 @@ -EXTRADEFS = -DWINE_NO_LONG_TYPES MODULE = plugplay.exe IMPORTS = advapi32 rpcrt4 user32 diff --git a/programs/plugplay/main.c b/programs/plugplay/main.c index 366be9c2b46..8426f2204a3 100644 --- a/programs/plugplay/main.c +++ b/programs/plugplay/main.c @@ -190,7 +190,7 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, LPVOID event_ SetEvent( stop_event ); return NO_ERROR; default: - WINE_FIXME( "got service ctrl %x\n", ctrl ); + WINE_FIXME( "got service ctrl %lx\n", ctrl ); status.dwCurrentState = SERVICE_RUNNING; SetServiceStatus( service_handle, &status ); return NO_ERROR; @@ -208,17 +208,17 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv ) if ((err = RpcServerUseProtseqEpA( protseq, 0, endpoint, NULL ))) { - ERR("RpcServerUseProtseqEp() failed, error %u\n", err); + ERR("RpcServerUseProtseqEp() failed, error %lu\n", err); return; } if ((err = RpcServerRegisterIf( plugplay_v0_0_s_ifspec, NULL, NULL ))) { - ERR("RpcServerRegisterIf() failed, error %u\n", err); + ERR("RpcServerRegisterIf() failed, error %lu\n", err); return; } if ((err = RpcServerListen( 1, RPC_C_LISTEN_MAX_CALLS_DEFAULT, TRUE ))) { - ERR("RpcServerListen() failed, error %u\n", err); + ERR("RpcServerListen() failed, error %lu\n", err); return; }