user32: Remove superfluous function pointer casts.

This commit is contained in:
Michael Stefaniuc 2012-09-20 13:29:17 +02:00 committed by Alexandre Julliard
parent bfd9cd1c42
commit 1e5328c77c
2 changed files with 2 additions and 4 deletions

View file

@ -1513,8 +1513,7 @@ BOOL WINAPI CheckRadioButton( HWND hwndDlg, int firstID,
radioGroup.lastID = lastID;
radioGroup.checkID = checkID;
return EnumChildWindows(hwndDlg, (WNDENUMPROC)CheckRB,
(LPARAM)&radioGroup);
return EnumChildWindows(hwndDlg, CheckRB, (LPARAM)&radioGroup);
}

View file

@ -11268,8 +11268,7 @@ static void test_EndDialog(void)
ok(GetClassInfo(0, "#32770", &cls), "GetClassInfo failed\n");
cls.lpszClassName = "MyDialogClass";
cls.hInstance = GetModuleHandle(0);
/* need a cast since a dlgproc is used as a wndproc */
cls.lpfnWndProc = (WNDPROC)test_dlg_proc;
cls.lpfnWndProc = test_dlg_proc;
if (!RegisterClass(&cls)) assert(0);
flush_sequence();