diff --git a/patches/user32-MessageBox_WS_EX_TOPMOST/0001-user32-tests-Add-some-tests-to-see-when-MessageBox-g.patch b/patches/user32-MessageBox_WS_EX_TOPMOST/0001-user32-tests-Add-some-tests-to-see-when-MessageBox-g.patch index 7d333bb4..91ae574c 100644 --- a/patches/user32-MessageBox_WS_EX_TOPMOST/0001-user32-tests-Add-some-tests-to-see-when-MessageBox-g.patch +++ b/patches/user32-MessageBox_WS_EX_TOPMOST/0001-user32-tests-Add-some-tests-to-see-when-MessageBox-g.patch @@ -87,7 +87,7 @@ index b8eea98b6e..de6aa463e9 100644 UnhookWindowsHookEx(hook); + -+ sprintf(params.caption, "pid %08x, tid %08x, time %08x", ++ sprintf(params.caption, "pid %08lx, tid %08lx, time %08lx", + GetCurrentProcessId(), GetCurrentThreadId(), GetCurrentTime()); + + params.owner = FALSE; @@ -104,7 +104,7 @@ index b8eea98b6e..de6aa463e9 100644 + hwnd = wait_for_window(params.caption); + ex_style = GetWindowLongA(hwnd, GWL_EXSTYLE); + todo_wine_if(test[i].ex_style == WS_EX_TOPMOST) -+ ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%d: got window ex_style %#x\n", i, ex_style); ++ ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%ld: got window ex_style %#lx\n", i, ex_style); + + PostMessageA(hwnd, WM_COMMAND, IDCANCEL, 0); + @@ -126,7 +126,7 @@ index b8eea98b6e..de6aa463e9 100644 + hwnd = wait_for_window(params.caption); + ex_style = GetWindowLongA(hwnd, GWL_EXSTYLE); + todo_wine_if(test[i].ex_style == WS_EX_TOPMOST) -+ ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%d: got window ex_style %#x\n", i, ex_style); ++ ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%ld: got window ex_style %#lx\n", i, ex_style); + + PostMessageA(hwnd, WM_COMMAND, IDCANCEL, 0); + diff --git a/patches/user32-MessageBox_WS_EX_TOPMOST/0002-user32-MessageBox-should-be-topmost-when-MB_SYSTEMMO.patch b/patches/user32-MessageBox_WS_EX_TOPMOST/0002-user32-MessageBox-should-be-topmost-when-MB_SYSTEMMO.patch index 3c737ba3..964f6f55 100644 --- a/patches/user32-MessageBox_WS_EX_TOPMOST/0002-user32-MessageBox-should-be-topmost-when-MB_SYSTEMMO.patch +++ b/patches/user32-MessageBox_WS_EX_TOPMOST/0002-user32-MessageBox-should-be-topmost-when-MB_SYSTEMMO.patch @@ -33,7 +33,7 @@ index 83a9efe0a24..4ac5b88717f 100644 hwnd = wait_for_window(params.caption); ex_style = GetWindowLongA(hwnd, GWL_EXSTYLE); - todo_wine_if(test[i].ex_style == WS_EX_TOPMOST) - ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%d: got window ex_style %#x\n", i, ex_style); + ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%ld: got window ex_style %#lx\n", i, ex_style); PostMessageA(hwnd, WM_COMMAND, IDCANCEL, 0); @@ -2263,7 +2262,6 @@ static void test_MessageBox(void) @@ -41,7 +41,7 @@ index 83a9efe0a24..4ac5b88717f 100644 hwnd = wait_for_window(params.caption); ex_style = GetWindowLongA(hwnd, GWL_EXSTYLE); - todo_wine_if(test[i].ex_style == WS_EX_TOPMOST) - ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%d: got window ex_style %#x\n", i, ex_style); + ok((ex_style & WS_EX_TOPMOST) == test[i].ex_style, "%ld: got window ex_style %#lx\n", i, ex_style); PostMessageA(hwnd, WM_COMMAND, IDCANCEL, 0); --