Andrew Talbot : comdlg32: Remove unneeded cast.

Alexandre Julliard julliard at winehq.org
Mon Jan 7 08:39:18 CST 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Jan  5 16:44:01 2008 +0000

comdlg32: Remove unneeded cast.

---

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

diff --git a/dlls/comdlg32/finddlg32.c b/dlls/comdlg32/finddlg32.c
index 5485804..353da90 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-cvs mailing list