mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 17:43:44 +00:00
user32: Remove superfluous function pointer casts.
This commit is contained in:
parent
bfd9cd1c42
commit
1e5328c77c
2 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue