start: 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
bd298b4a02
commit
e704f0372e
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
MODULE = start.exe
|
||||
IMPORTS = shell32 user32
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ static void fatal_string_error(int which, DWORD error_code, const WCHAR *filenam
|
|||
WCHAR msg[2048];
|
||||
|
||||
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);
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ static void fatal_string(int which)
|
|||
WCHAR msg[2048];
|
||||
|
||||
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);
|
||||
ExitProcess(1);
|
||||
|
|
Loading…
Reference in New Issue