localspl/tests: Win64 printf format warning fixes.

Michael Stefaniuc mstefani at redhat.de
Tue Oct 3 16:39:15 CDT 2006


---
 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());
 }
 
-- 
1.4.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061003/29bb4c7b/attachment.pgp


More information about the wine-patches mailing list