[PATCH 23/24] programs/wusa: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Mon Feb 7 01:41:50 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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-devel mailing list