Commit 1e5328c7 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

user32: Remove superfluous function pointer casts.

parent bfd9cd1c
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment