Commit 338e4ca0 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

wevtsvc: Enable compilation with long types.

parent 5c22bc55
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = wevtsvc.dll MODULE = wevtsvc.dll
IMPORTS = rpcrt4 advapi32 IMPORTS = rpcrt4 advapi32
......
...@@ -48,7 +48,7 @@ static void eventlog_update_status(DWORD state) ...@@ -48,7 +48,7 @@ static void eventlog_update_status(DWORD state)
static void WINAPI eventlog_handler(DWORD control) static void WINAPI eventlog_handler(DWORD control)
{ {
TRACE("%#x\n", control); TRACE("%#lx\n", control);
switch (control) switch (control)
{ {
...@@ -71,7 +71,7 @@ void WINAPI ServiceMain(DWORD argc, LPWSTR *argv) ...@@ -71,7 +71,7 @@ void WINAPI ServiceMain(DWORD argc, LPWSTR *argv)
svc_handle = RegisterServiceCtrlHandlerW(L"EventLog", eventlog_handler); svc_handle = RegisterServiceCtrlHandlerW(L"EventLog", eventlog_handler);
if (!svc_handle) if (!svc_handle)
{ {
ERR("RegisterServiceCtrlHandler error %u\n", GetLastError()); ERR("RegisterServiceCtrlHandler error %lu\n", GetLastError());
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment