comctl32/tests: Add casts to avoid comparison of different int types. [take 2]
Gerald Pfeifer
gerald at pfeifer.com
Tue Feb 15 19:59:22 CST 2011
This is the first hunk of a patch a few days ago; testbot.winehq.org
thinks it's fine: https://testbot.winehq.org/JobDetails.pl?Key=9291
Gerald
diff --git a/dlls/comctl32/tests/tab.c b/dlls/comctl32/tests/tab.c
index 4c464e6..14c7b59 100644
--- a/dlls/comctl32/tests/tab.c
+++ b/dlls/comctl32/tests/tab.c
@@ -1297,7 +1297,7 @@ static void test_TCS_OWNERDRAWFIXED(HWND parent_wnd)
lparam = 0;
memset(&lparam, 0xde, 4);
- ok(g_drawitem.itemData == lparam, "got %lx, expected %lx\n", g_drawitem.itemData, lparam);
+ ok(g_drawitem.itemData == (ULONG_PTR)lparam, "got %lx, expected %lx\n", g_drawitem.itemData, lparam);
DestroyWindow(hTab);
More information about the wine-patches
mailing list