Commit c20d32d3 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

user32/tests: Use %d to print last_bpp instead of %u.

parent e2bc3bc4
...@@ -2475,7 +2475,7 @@ static void test_WM_DISPLAYCHANGE(void) ...@@ -2475,7 +2475,7 @@ static void test_WM_DISPLAYCHANGE(void)
todo_wine todo_wine
ok( res == WAIT_TIMEOUT || broken( !res ), "WaitForSingleObject returned %#lx\n", res ); ok( res == WAIT_TIMEOUT || broken( !res ), "WaitForSingleObject returned %#lx\n", res );
todo_wine todo_wine
ok( last_bpp == -1 || broken( last_bpp == default_bpp ), "got WM_DISPLAYCHANGE bpp %u\n", last_bpp ); ok( last_bpp == -1 || broken( last_bpp == default_bpp ), "got WM_DISPLAYCHANGE bpp %d\n", last_bpp );
displaychange_ok = FALSE; displaychange_ok = FALSE;
for (i = 0; i < ARRAY_SIZE(test_bpps); i++) for (i = 0; i < ARRAY_SIZE(test_bpps); i++)
...@@ -2496,7 +2496,7 @@ static void test_WM_DISPLAYCHANGE(void) ...@@ -2496,7 +2496,7 @@ static void test_WM_DISPLAYCHANGE(void)
/* Wait quite long for the message, screen setting changes can take some time */ /* Wait quite long for the message, screen setting changes can take some time */
res = WaitForSingleObject( displaychange_sem, 10000 ); res = WaitForSingleObject( displaychange_sem, 10000 );
ok( !res, "WaitForSingleObject returned %#lx\n", res ); ok( !res, "WaitForSingleObject returned %#lx\n", res );
ok( last_bpp == bpp, "got WM_DISPLAYCHANGE bpp %u\n", last_bpp ); ok( last_bpp == bpp, "got WM_DISPLAYCHANGE bpp %d\n", last_bpp );
} }
else else
{ {
...@@ -2504,7 +2504,7 @@ static void test_WM_DISPLAYCHANGE(void) ...@@ -2504,7 +2504,7 @@ static void test_WM_DISPLAYCHANGE(void)
win_skip( "ChangeDisplaySettingsExW returned %ld\n", res ); win_skip( "ChangeDisplaySettingsExW returned %ld\n", res );
ok( res == DISP_CHANGE_BADMODE || broken( DISP_CHANGE_FAILED && bpp == 8 ), ok( res == DISP_CHANGE_BADMODE || broken( DISP_CHANGE_FAILED && bpp == 8 ),
"ChangeDisplaySettingsExW returned %ld\n", res ); "ChangeDisplaySettingsExW returned %ld\n", res );
ok( last_bpp == -1, "got WM_DISPLAYCHANGE bpp %u\n", last_bpp ); ok( last_bpp == -1, "got WM_DISPLAYCHANGE bpp %d\n", last_bpp );
} }
displaychange_ok = FALSE; displaychange_ok = FALSE;
...@@ -2525,7 +2525,7 @@ static void test_WM_DISPLAYCHANGE(void) ...@@ -2525,7 +2525,7 @@ static void test_WM_DISPLAYCHANGE(void)
todo_wine todo_wine
ok( res == WAIT_TIMEOUT || broken( !res ), "WaitForSingleObject returned %#lx\n", res ); ok( res == WAIT_TIMEOUT || broken( !res ), "WaitForSingleObject returned %#lx\n", res );
todo_wine todo_wine
ok( last_bpp == -1 || broken( last_bpp == default_bpp ), "got WM_DISPLAYCHANGE bpp %u\n", last_bpp ); ok( last_bpp == -1 || broken( last_bpp == default_bpp ), "got WM_DISPLAYCHANGE bpp %d\n", last_bpp );
displaychange_ok = FALSE; displaychange_ok = FALSE;
CloseHandle( displaychange_sem ); CloseHandle( displaychange_sem );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment