Signed-off-by: Eric Pouech eric.pouech@gmail.com
--- 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);