Michael Stefaniuc : comdlg32/tests: Win64 printf format warning fixes.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 6 06:24:47 CDT 2006


Module: wine
Branch: master
Commit: 6ef43211b2064f13f66b42fd7d42a865be147e8b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6ef43211b2064f13f66b42fd7d42a865be147e8b

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Oct  5 22:05:21 2006 +0200

comdlg32/tests: Win64 printf format warning fixes.

---

 dlls/comdlg32/tests/Makefile.in |    1 -
 dlls/comdlg32/tests/printdlg.c  |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/comdlg32/tests/Makefile.in b/dlls/comdlg32/tests/Makefile.in
index fd258e4..aa1ec87 100644
--- a/dlls/comdlg32/tests/Makefile.in
+++ b/dlls/comdlg32/tests/Makefile.in
@@ -4,7 +4,6 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 TESTDLL   = comdlg32.dll
 IMPORTS   = comdlg32 kernel32
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 CTESTS = \
 	printdlg.c
diff --git a/dlls/comdlg32/tests/printdlg.c b/dlls/comdlg32/tests/printdlg.c
index ce78415..bd3ddf1 100644
--- a/dlls/comdlg32/tests/printdlg.c
+++ b/dlls/comdlg32/tests/printdlg.c
@@ -61,7 +61,7 @@ #endif
     SetLastError(0xdeadbeef);
     res = PrintDlgA(pDlg);
     ok( !res && (CommDlgExtendedError() == CDERR_STRUCTSIZE),
-        "returned %ld with 0x%lx and 0x%lx (expected '0' and " \
+        "returned %d with 0x%x and 0x%x (expected '0' and " \
         "CDERR_STRUCTSIZE)\n", res, GetLastError(), CommDlgExtendedError());
 
 
@@ -71,7 +71,7 @@ #endif
     SetLastError(0xdeadbeef);
     res = PrintDlgA(pDlg);
     ok( res || (CommDlgExtendedError() == PDERR_NODEFAULTPRN),
-        "returned %ld with 0x%lx and 0x%lx (expected '!= 0' or '0' and " \
+        "returned %d with 0x%x and 0x%x (expected '!= 0' or '0' and " \
         "PDERR_NODEFAULTPRN)\n", res, GetLastError(), CommDlgExtendedError());
 
     HeapFree(GetProcessHeap(), 0, pDlg);




More information about the wine-cvs mailing list