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

wineconsole: Enable compilation with long types.

parent 27aacaa7
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = wineconsole.exe
IMPORTS = advapi32
DELAYIMPORTS = comctl32 user32 gdi32
......
......@@ -44,7 +44,7 @@ int WINAPI wWinMain( HINSTANCE inst, HINSTANCE prev, WCHAR *cmdline, INT show )
FreeConsole(); /* make sure we're not connected to inherited console */
if (!AllocConsole())
{
ERR( "failed to allocate console: %u\n", GetLastError() );
ERR( "failed to allocate console: %lu\n", GetLastError() );
return 1;
}
......@@ -63,7 +63,7 @@ int WINAPI wWinMain( HINSTANCE inst, HINSTANCE prev, WCHAR *cmdline, INT show )
INPUT_RECORD ir;
DWORD len;
exit_code = GetLastError();
WARN( "CreateProcess failed: %u\n", exit_code );
WARN( "CreateProcess failed: %lu\n", exit_code );
LoadStringW( GetModuleHandleW( NULL ), IDS_CMD_LAUNCH_FAILED, format, ARRAY_SIZE(format) );
len = wcslen( format ) + wcslen( cmd );
if ((buf = malloc( len * sizeof(WCHAR) )))
......
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