wevtsvc: 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:
parent
5c22bc551c
commit
338e4ca0cf
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
MODULE = wevtsvc.dll
|
||||
IMPORTS = rpcrt4 advapi32
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ static void eventlog_update_status(DWORD state)
|
|||
|
||||
static void WINAPI eventlog_handler(DWORD control)
|
||||
{
|
||||
TRACE("%#x\n", control);
|
||||
TRACE("%#lx\n", control);
|
||||
|
||||
switch (control)
|
||||
{
|
||||
|
@ -71,7 +71,7 @@ void WINAPI ServiceMain(DWORD argc, LPWSTR *argv)
|
|||
svc_handle = RegisterServiceCtrlHandlerW(L"EventLog", eventlog_handler);
|
||||
if (!svc_handle)
|
||||
{
|
||||
ERR("RegisterServiceCtrlHandler error %u\n", GetLastError());
|
||||
ERR("RegisterServiceCtrlHandler error %lu\n", GetLastError());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue