Eric Pouech : printui: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Thu Feb 17 15:33:57 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Feb 17 07:10:55 2022 +0100

printui: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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