localspl/tests: Win64 printf format warning fixes.

This commit is contained in:
Michael Stefaniuc 2006-10-03 23:39:15 +02:00 committed by Alexandre Julliard
parent 84473e5bfc
commit 4a4c025a52
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
TESTDLL = localspl.dll
IMPORTS = kernel32
EXTRADEFS = -DWINE_NO_LONG_AS_INT
CTESTS = \
localmon.c

View File

@ -51,13 +51,13 @@ static void test_InitializePrintMonitor(void)
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());
}