Commit cf63513a authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

regsvr32: Enable compilation with long types.

parent 1e5ffcbf
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = regsvr32.exe MODULE = regsvr32.exe
IMPORTS = ole32 user32 kernelbase IMPORTS = ole32 user32 kernelbase
......
...@@ -47,7 +47,7 @@ static void WINAPIV output_write(UINT id, ...) ...@@ -47,7 +47,7 @@ static void WINAPIV output_write(UINT id, ...)
if (!LoadStringW(GetModuleHandleW(NULL), id, fmt, ARRAY_SIZE(fmt))) if (!LoadStringW(GetModuleHandleW(NULL), id, fmt, ARRAY_SIZE(fmt)))
{ {
WINE_FIXME("LoadString failed with %d\n", GetLastError()); WINE_FIXME("LoadString failed with %ld\n", GetLastError());
return; return;
} }
...@@ -57,7 +57,7 @@ static void WINAPIV output_write(UINT id, ...) ...@@ -57,7 +57,7 @@ static void WINAPIV output_write(UINT id, ...)
va_end(va_args); va_end(va_args);
if (len == 0 && GetLastError() != ERROR_NO_WORK_DONE) if (len == 0 && GetLastError() != ERROR_NO_WORK_DONE)
{ {
WINE_FIXME("Could not format string: le=%u, fmt=%s\n", GetLastError(), wine_dbgstr_w(fmt)); WINE_FIXME("Could not format string: le=%lu, fmt=%s\n", GetLastError(), wine_dbgstr_w(fmt));
return; return;
} }
...@@ -153,7 +153,7 @@ static void reexec_self( WORD machine ) ...@@ -153,7 +153,7 @@ static void reexec_self( WORD machine )
} }
else else
{ {
WINE_TRACE("failed to restart, err=%d\n", GetLastError()); WINE_TRACE("failed to restart, err=%ld\n", GetLastError());
} }
Wow64RevertWow64FsRedirection(cookie); Wow64RevertWow64FsRedirection(cookie);
HeapFree(GetProcessHeap(), 0, cmdline); HeapFree(GetProcessHeap(), 0, cmdline);
......
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