Commit ad68792a authored by Mikhail Maroukhine's avatar Mikhail Maroukhine Committed by Alexandre Julliard

comctl32/tests: Remove superfluous casts.

parent 05d0787d
......@@ -3293,7 +3293,7 @@ static void test_getitemrect(void)
expect(18, rect.left);
expect(50, rect.right);
r = SendMessage(hwnd, LVM_SETIMAGELIST, LVSIL_STATE, (LPARAM)NULL);
r = SendMessage(hwnd, LVM_SETIMAGELIST, LVSIL_STATE, 0);
ok(r != 0, "should return current list handle\n");
r = SendMessage(hwnd, LVM_SETIMAGELIST, LVSIL_SMALL, (LPARAM)himl);
......
......@@ -968,7 +968,7 @@ static void test_monthcal_hittest(void)
expect(-1, res);
expect(0, mchit.uHit);
/* test with invalid pointer */
res = SendMessage(hwnd, MCM_HITTEST, 0, (LPARAM)NULL);
res = SendMessage(hwnd, MCM_HITTEST, 0, 0);
expect(-1, res);
/* resize control to display single Calendar */
......
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