Jacek Caban : hhctrl.ocx: Remove redundant casts.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 28 08:19:10 CST 2007


Module: wine
Branch: master
Commit: 74fffe66e4cea8db66ae7b43e9366a03f445b755
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=74fffe66e4cea8db66ae7b43e9366a03f445b755

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Feb 28 03:50:14 2007 +0100

hhctrl.ocx: Remove redundant casts.

---

 dlls/hhctrl.ocx/help.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c
index 14382c8..5e327ed 100644
--- a/dlls/hhctrl.ocx/help.c
+++ b/dlls/hhctrl.ocx/help.c
@@ -178,7 +178,7 @@ static void HH_RegisterSizeBarClass(HHInfo *pHHInfo)
 
     wcex.cbSize         = sizeof(WNDCLASSEXW);
     wcex.style          = 0;
-    wcex.lpfnWndProc    = (WNDPROC)SizeBar_WndProc;
+    wcex.lpfnWndProc    = SizeBar_WndProc;
     wcex.cbClsExtra     = 0;
     wcex.cbWndExtra     = 0;
     wcex.hInstance      = hhctrl_hinstance;
@@ -285,7 +285,7 @@ static void HH_RegisterChildWndClass(HHInfo *pHHInfo)
 
     wcex.cbSize         = sizeof(WNDCLASSEXW);
     wcex.style          = 0;
-    wcex.lpfnWndProc    = (WNDPROC)Child_WndProc;
+    wcex.lpfnWndProc    = Child_WndProc;
     wcex.cbClsExtra     = 0;
     wcex.cbWndExtra     = 0;
     wcex.hInstance      = hhctrl_hinstance;
@@ -658,7 +658,7 @@ static BOOL HH_CreateHelpWindow(HHInfo *info)
 
     wcex.cbSize         = sizeof(WNDCLASSEXW);
     wcex.style          = CS_HREDRAW | CS_VREDRAW;
-    wcex.lpfnWndProc    = (WNDPROC)Help_WndProc;
+    wcex.lpfnWndProc    = Help_WndProc;
     wcex.cbClsExtra     = 0;
     wcex.cbWndExtra     = 0;
     wcex.hInstance      = hhctrl_hinstance;




More information about the wine-cvs mailing list