mirror of
https://github.com/reactos/wine.git
synced 2025-02-10 22:35:56 +00:00
user32: Remove superfluous function pointer casts.
This commit is contained in:
parent
bfd9cd1c42
commit
1e5328c77c
@ -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…
x
Reference in New Issue
Block a user