comctl32/tests: Remove superfluous casts.
This commit is contained in:
parent
05d0787d08
commit
ad68792a14
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue