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

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 4 04:24:54 CDT 2006


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Oct  3 23:39:15 2006 +0200

localspl/tests: Win64 printf format warning fixes.

---

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

diff --git a/dlls/localspl/tests/Makefile.in b/dlls/localspl/tests/Makefile.in
index db04d52..2d70a62 100644
--- a/dlls/localspl/tests/Makefile.in
+++ b/dlls/localspl/tests/Makefile.in
@@ -4,7 +4,6 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 TESTDLL   = localspl.dll
 IMPORTS   = kernel32
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 CTESTS = \
 	localmon.c
diff --git a/dlls/localspl/tests/localmon.c b/dlls/localspl/tests/localmon.c
index 9b8fd0e..72a7048 100644
--- a/dlls/localspl/tests/localmon.c
+++ b/dlls/localspl/tests/localmon.c
@@ -51,13 +51,13 @@ static void test_InitializePrintMonitor(
     SetLastError(0xdeadbeef);
     res = pInitializePrintMonitor(NULL);
     ok( (res == NULL) && (GetLastError() == ERROR_INVALID_PARAMETER),
-        "returned %p with %ld\n (expected NULL with " \
+        "returned %p with %d\n (expected NULL with " \
         "ERROR_INVALID_PARAMETER)\n", res, GetLastError());
 
     SetLastError(0xdeadbeef);
     res = pInitializePrintMonitor((LPWSTR) emptyW);
     ok( (res == NULL) && (GetLastError() == ERROR_INVALID_PARAMETER),
-        "returned %p with %ld\n (expected NULL with " \
+        "returned %p with %d\n (expected NULL with " \
         "ERROR_INVALID_PARAMETER)\n", res, GetLastError());
 }
 




More information about the wine-cvs mailing list