Remove Superfluous Casts
Mikhail Maroukhine
mikolg at yandex.ru
Wed Mar 24 14:46:25 CDT 2010
---
dlls/comctl32/tests/listview.c | 2 +-
dlls/comctl32/tests/monthcal.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 5441cfc..aa3db80 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -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);
diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c
index ea10b9f..d1fa8de 100644
--- a/dlls/comctl32/tests/monthcal.c
+++ b/dlls/comctl32/tests/monthcal.c
@@ -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 */
--
1.6.3.3
------------m7u8WYhz3akOquDXEZ4oNY--
More information about the wine-patches
mailing list