Michael Stefaniuc : comctl32: Remove a superfluous function pointer cast.

Alexandre Julliard julliard at winehq.org
Fri Nov 30 13:48:21 CST 2012


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Nov 30 13:48:00 2012 +0100

comctl32: Remove a superfluous function pointer cast.

---

 dlls/comctl32/progress.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/progress.c b/dlls/comctl32/progress.c
index d331d19..aba5302 100644
--- a/dlls/comctl32/progress.c
+++ b/dlls/comctl32/progress.c
@@ -745,7 +745,7 @@ void PROGRESS_Register (void)
 
     ZeroMemory (&wndClass, sizeof(wndClass));
     wndClass.style         = CS_GLOBALCLASS | CS_VREDRAW | CS_HREDRAW;
-    wndClass.lpfnWndProc   = (WNDPROC)ProgressWindowProc;
+    wndClass.lpfnWndProc   = ProgressWindowProc;
     wndClass.cbClsExtra    = 0;
     wndClass.cbWndExtra    = sizeof (PROGRESS_INFO *);
     wndClass.hCursor       = LoadCursorW (0, (LPWSTR)IDC_ARROW);




More information about the wine-cvs mailing list