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

start: Enable compilation with long types.

parent bd298b4a
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = start.exe MODULE = start.exe
IMPORTS = shell32 user32 IMPORTS = shell32 user32
......
...@@ -98,7 +98,7 @@ static void fatal_string_error(int which, DWORD error_code, const WCHAR *filenam ...@@ -98,7 +98,7 @@ static void fatal_string_error(int which, DWORD error_code, const WCHAR *filenam
WCHAR msg[2048]; WCHAR msg[2048];
if (!LoadStringW(GetModuleHandleW(NULL), which, msg, ARRAY_SIZE(msg))) if (!LoadStringW(GetModuleHandleW(NULL), which, msg, ARRAY_SIZE(msg)))
WINE_ERR("LoadString failed, error %d\n", GetLastError()); WINE_ERR("LoadString failed, error %ld\n", GetLastError());
fatal_error(msg, error_code, filename); fatal_error(msg, error_code, filename);
} }
...@@ -108,7 +108,7 @@ static void fatal_string(int which) ...@@ -108,7 +108,7 @@ static void fatal_string(int which)
WCHAR msg[2048]; WCHAR msg[2048];
if (!LoadStringW(GetModuleHandleW(NULL), which, msg, ARRAY_SIZE(msg))) if (!LoadStringW(GetModuleHandleW(NULL), which, msg, ARRAY_SIZE(msg)))
WINE_ERR("LoadString failed, error %d\n", GetLastError()); WINE_ERR("LoadString failed, error %ld\n", GetLastError());
output(msg); output(msg);
ExitProcess(1); ExitProcess(1);
......
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