[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-cvs
Subject:    Michael Stefaniuc : comctl32: Remove a superfluous function pointer cast.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2012-11-30 19:48:21
Message-ID: E1TeWZR-00061T-Rz () wine ! codeweavers ! com
[Download RAW message or body]

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

Author: Michael Stefaniuc <mstefani@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);



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic