Michael Stefaniuc : winhlp32: Remove superfluous casts.
Alexandre Julliard
julliard at winehq.org
Mon Apr 6 09:00:35 CDT 2009
Module: wine
Branch: master
Commit: cd4a7c31465427c1d6cd213337aa37041427c82d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd4a7c31465427c1d6cd213337aa37041427c82d
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Apr 6 11:51:26 2009 +0200
winhlp32: Remove superfluous casts.
---
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);
More information about the wine-cvs
mailing list