comctl32/tests: Remove superfluous casts.

This commit is contained in:
Mikhail Maroukhine 2010-03-25 01:46:25 +06:00 committed by Alexandre Julliard
parent 05d0787d08
commit ad68792a14
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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 */