Eric Pouech : wusa: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Mon Feb 7 15:56:05 CST 2022


Module: wine
Branch: master
Commit: 827988bd8a3bc2abd7de695c5f2cfdb65768056b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=827988bd8a3bc2abd7de695c5f2cfdb65768056b

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Feb  7 08:41:50 2022 +0100

wusa: 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/wusa/Makefile.in | 1 -
 programs/wusa/main.c      | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/programs/wusa/Makefile.in b/programs/wusa/Makefile.in
index a5702bfe657..171377bc2f2 100644
--- a/programs/wusa/Makefile.in
+++ b/programs/wusa/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = wusa.exe
 IMPORTS   = cabinet shlwapi ole32 oleaut32 advapi32
 
diff --git a/programs/wusa/main.c b/programs/wusa/main.c
index bcb795a80fa..d1bb385cd06 100644
--- a/programs/wusa/main.c
+++ b/programs/wusa/main.c
@@ -1035,7 +1035,7 @@ static void restart_as_x86_64(void)
         CloseHandle(pi.hProcess);
         CloseHandle(pi.hThread);
     }
-    else ERR("Failed to restart 64-bit %s, err %u\n", wine_dbgstr_w(filename), GetLastError());
+    else ERR("Failed to restart 64-bit %s, err %lu\n", wine_dbgstr_w(filename), GetLastError());
     Wow64RevertWow64FsRedirection(redir);
 
     ExitProcess(exit_code);




More information about the wine-cvs mailing list