diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c index 71f8b424358..ac6ddba0d35 100644 --- a/dlls/comctl32/animate.c +++ b/dlls/comctl32/animate.c @@ -950,7 +950,7 @@ void ANIMATE_Register(void) ZeroMemory(&wndClass, sizeof(WNDCLASSA)); wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS; - wndClass.lpfnWndProc = (WNDPROC)ANIMATE_WindowProc; + wndClass.lpfnWndProc = ANIMATE_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(ANIMATE_INFO *); wndClass.hCursor = LoadCursorA(0, (LPSTR)IDC_ARROW); diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c index ddf206fe8ca..f560c156edf 100644 --- a/dlls/comctl32/comboex.c +++ b/dlls/comctl32/comboex.c @@ -2252,7 +2252,7 @@ void COMBOEX_Register (void) ZeroMemory (&wndClass, sizeof(WNDCLASSW)); wndClass.style = CS_GLOBALCLASS; - wndClass.lpfnWndProc = (WNDPROC)COMBOEX_WindowProc; + wndClass.lpfnWndProc = COMBOEX_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(COMBOEX_INFO *); wndClass.hCursor = LoadCursorW (0, (LPWSTR)IDC_ARROW); diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c index 3fa2557b1aa..c8a2ed2372d 100644 --- a/dlls/comctl32/datetime.c +++ b/dlls/comctl32/datetime.c @@ -1037,7 +1037,7 @@ DATETIME_Register (void) ZeroMemory (&wndClass, sizeof(WNDCLASSW)); wndClass.style = CS_GLOBALCLASS; - wndClass.lpfnWndProc = (WNDPROC)DATETIME_WindowProc; + wndClass.lpfnWndProc = DATETIME_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(DATETIME_INFO *); wndClass.hCursor = LoadCursorW (0, (LPCWSTR)IDC_ARROW); diff --git a/dlls/comctl32/flatsb.c b/dlls/comctl32/flatsb.c index a7a1f0063f2..cd15e3e1e5a 100644 --- a/dlls/comctl32/flatsb.c +++ b/dlls/comctl32/flatsb.c @@ -274,7 +274,7 @@ FLATSB_Register (void) ZeroMemory (&wndClass, sizeof(WNDCLASSA)); wndClass.style = CS_GLOBALCLASS; - wndClass.lpfnWndProc = (WNDPROC)FlatSB_WindowProc; + wndClass.lpfnWndProc = FlatSB_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(FLATSB_INFO *); wndClass.hCursor = LoadCursorA (0, (LPSTR)IDC_ARROW); diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c index cb4ec0b9757..743725c7609 100644 --- a/dlls/comctl32/header.c +++ b/dlls/comctl32/header.c @@ -1842,7 +1842,7 @@ HEADER_Register (void) ZeroMemory (&wndClass, sizeof(WNDCLASSA)); wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS; - wndClass.lpfnWndProc = (WNDPROC)HEADER_WindowProc; + wndClass.lpfnWndProc = HEADER_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(HEADER_INFO *); wndClass.hCursor = LoadCursorA (0, (LPSTR)IDC_ARROW); diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index ca76edb373b..efaf321858a 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -9279,7 +9279,7 @@ void LISTVIEW_Register(void) ZeroMemory(&wndClass, sizeof(WNDCLASSW)); wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS; - wndClass.lpfnWndProc = (WNDPROC)LISTVIEW_WindowProc; + wndClass.lpfnWndProc = LISTVIEW_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(LISTVIEW_INFO *); wndClass.hCursor = LoadCursorW(0, (LPWSTR)IDC_ARROW); diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index 19a5d3147d3..09f294f1d42 100644 --- a/dlls/comctl32/monthcal.c +++ b/dlls/comctl32/monthcal.c @@ -2068,7 +2068,7 @@ MONTHCAL_Register(void) ZeroMemory(&wndClass, sizeof(WNDCLASSA)); wndClass.style = CS_GLOBALCLASS; - wndClass.lpfnWndProc = (WNDPROC)MONTHCAL_WindowProc; + wndClass.lpfnWndProc = MONTHCAL_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(MONTHCAL_INFO *); wndClass.hCursor = LoadCursorA(0, (LPSTR)IDC_ARROW); diff --git a/dlls/comctl32/nativefont.c b/dlls/comctl32/nativefont.c index 72218815dc7..86d1e79fa96 100644 --- a/dlls/comctl32/nativefont.c +++ b/dlls/comctl32/nativefont.c @@ -117,7 +117,7 @@ NATIVEFONT_Register (void) ZeroMemory (&wndClass, sizeof(WNDCLASSW)); wndClass.style = CS_GLOBALCLASS; - wndClass.lpfnWndProc = (WNDPROC)NATIVEFONT_WindowProc; + wndClass.lpfnWndProc = NATIVEFONT_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(NATIVEFONT_INFO *); wndClass.hCursor = LoadCursorW (0, (LPWSTR)IDC_ARROW); diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c index 70cc30e4d41..6508b38fdc1 100644 --- a/dlls/comctl32/rebar.c +++ b/dlls/comctl32/rebar.c @@ -4710,7 +4710,7 @@ REBAR_Register (void) ZeroMemory (&wndClass, sizeof(WNDCLASSA)); wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS; - wndClass.lpfnWndProc = (WNDPROC)REBAR_WindowProc; + wndClass.lpfnWndProc = REBAR_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(REBAR_INFO *); wndClass.hCursor = 0; diff --git a/dlls/comctl32/syslink.c b/dlls/comctl32/syslink.c index d8e7a29ddd5..538ca0c26ab 100644 --- a/dlls/comctl32/syslink.c +++ b/dlls/comctl32/syslink.c @@ -1662,7 +1662,7 @@ VOID SYSLINK_Register (void) ZeroMemory (&wndClass, sizeof(wndClass)); wndClass.style = CS_GLOBALCLASS | CS_VREDRAW | CS_HREDRAW; - wndClass.lpfnWndProc = (WNDPROC)SysLinkWindowProc; + wndClass.lpfnWndProc = SysLinkWindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof (SYSLINK_INFO *); wndClass.hCursor = LoadCursorW (0, (LPWSTR)IDC_ARROW); diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index 37d100df9f9..cf09fb6f495 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -5399,7 +5399,7 @@ TREEVIEW_Register(void) ZeroMemory(&wndClass, sizeof(WNDCLASSA)); wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS; - wndClass.lpfnWndProc = (WNDPROC)TREEVIEW_WindowProc; + wndClass.lpfnWndProc = TREEVIEW_WindowProc; wndClass.cbClsExtra = 0; wndClass.cbWndExtra = sizeof(TREEVIEW_INFO *);