winhlp32: Remove superfluous casts.

Michael Stefaniuc mstefani at redhat.de
Mon Apr 6 04:51:26 CDT 2009


---
 programs/winhlp32/winhelp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index bac416e..ddd58ad 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -353,7 +353,7 @@ static LRESULT  WINHELP_HandleCommand(HWND hSrcWnd, LPARAM lParam)
         return 0;
     }
 
-    wh = (WINHELP*)cds->lpData;
+    wh = cds->lpData;
 
     if (wh)
     {
@@ -1154,7 +1154,7 @@ static LRESULT CALLBACK WINHELP_ShadowWndProc(HWND hWnd, UINT msg, WPARAM wParam
  */
 static void cb_KWBTree(void *p, void **next, void *cookie)
 {
-    HWND hListWnd = (HWND)cookie;
+    HWND hListWnd = cookie;
     int count;
 
     WINE_TRACE("Adding '%s' to search list\n", (char *)p);
-- 
1.6.0.6



More information about the wine-patches mailing list