Eric Pouech : start: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Mon Feb 7 15:56:04 CST 2022
Module: wine
Branch: master
Commit: e704f0372ed396ddefe6b8c65f71da6d201857b9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e704f0372ed396ddefe6b8c65f71da6d201857b9
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Mon Feb 7 08:39:55 2022 +0100
start: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/start/Makefile.in | 1 -
programs/start/start.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/programs/start/Makefile.in b/programs/start/Makefile.in
index 7dfdd55b794..04bc38808bf 100644
--- a/programs/start/Makefile.in
+++ b/programs/start/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = start.exe
IMPORTS = shell32 user32
diff --git a/programs/start/start.c b/programs/start/start.c
index b5bf8187603..998c439423e 100644
--- a/programs/start/start.c
+++ b/programs/start/start.c
@@ -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);
More information about the wine-cvs
mailing list