Module: wine Branch: master Commit: ad68792a14f1226cade9d01019ad872512e5a800 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ad68792a14f1226cade9d01019...
Author: Mikhail Maroukhine mikolg@yandex.ru Date: Thu Mar 25 01:46:25 2010 +0600
comctl32/tests: Remove superfluous casts.
---
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 */