comdlg32/tests: Win64 printf format warning fixes.

This commit is contained in:
Michael Stefaniuc 2006-10-05 22:05:21 +02:00 committed by Alexandre Julliard
parent 8fac9960b8
commit 6ef43211b2
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -61,7 +61,7 @@ static void test_PrintDlgA(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
res = PrintDlgA(pDlg); res = PrintDlgA(pDlg);
ok( !res && (CommDlgExtendedError() == CDERR_STRUCTSIZE), 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()); "CDERR_STRUCTSIZE)\n", res, GetLastError(), CommDlgExtendedError());
@ -71,7 +71,7 @@ static void test_PrintDlgA(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
res = PrintDlgA(pDlg); res = PrintDlgA(pDlg);
ok( res || (CommDlgExtendedError() == PDERR_NODEFAULTPRN), 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()); "PDERR_NODEFAULTPRN)\n", res, GetLastError(), CommDlgExtendedError());
HeapFree(GetProcessHeap(), 0, pDlg); HeapFree(GetProcessHeap(), 0, pDlg);