comdlg32: Remove unneeded cast (Try 2)

Andrew Talbot andrew.talbot at talbotville.com
Sat Jan 5 10:44:01 CST 2008


Changelog:
    comdlg32: Remove unneeded cast.

diff --git a/dlls/comdlg32/finddlg32.c b/dlls/comdlg32/finddlg32.c
index 5485804..5d247d4 100644
--- a/dlls/comdlg32/finddlg32.c
+++ b/dlls/comdlg32/finddlg32.c
@@ -382,7 +382,7 @@ static HWND COMDLG32_FR_DoFindReplace(
 		HRSRC htemplate;
         	if(pdata->fr.Flags & FR_ENABLETEMPLATE)
 	        {
-        		hmod = (HMODULE)pdata->fr.hInstance;
+        		hmod = pdata->fr.hInstance;
                         if(pdata->fr.Flags & FR_WINE_UNICODE)
                         {
 				htemplate = FindResourceW(hmod, (LPCWSTR)pdata->fr.lpTemplateName, (LPWSTR)RT_DIALOG);



More information about the wine-patches mailing list