[PATCH 06/28] dlls/printui: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Thu Feb 17 00:10:55 CST 2022


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

---
 dlls/printui/Makefile.in |    1 -
 dlls/printui/printui.c   |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/printui/Makefile.in b/dlls/printui/Makefile.in
index eb1dbf899dc..c504f190b2f 100644
--- a/dlls/printui/Makefile.in
+++ b/dlls/printui/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = printui.dll
 IMPORTS   = shell32
 
diff --git a/dlls/printui/printui.c b/dlls/printui/printui.c
index 09f527bfb0a..8f65ed27e87 100644
--- a/dlls/printui/printui.c
+++ b/dlls/printui/printui.c
@@ -220,7 +220,7 @@ void WINAPI PrintUIEntryW(HWND hWnd, HINSTANCE hInst, LPCWSTR pCommand, DWORD nC
     context_t cx;
     BOOL  res = FALSE;
 
-    TRACE("(%p, %p, %s, 0x%x)\n", hWnd, hInst, debugstr_w(pCommand), nCmdShow);
+    TRACE("(%p, %p, %s, 0x%lx)\n", hWnd, hInst, debugstr_w(pCommand), nCmdShow);
 
     memset(&cx, 0, sizeof(context_t));
     cx.hWnd = hWnd;




More information about the wine-devel mailing list