Andrew Talbot : comdlg32: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jul 18 06:57:28 CDT 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Tue Jul 17 21:18:16 2007 +0100

comdlg32: Cast-qual warning fix.

---

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

diff --git a/dlls/comdlg32/filedlg31.c b/dlls/comdlg32/filedlg31.c
index 6c0f08d..89bedb0 100644
--- a/dlls/comdlg32/filedlg31.c
+++ b/dlls/comdlg32/filedlg31.c
@@ -872,7 +872,7 @@ LONG FD31_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam)
   	ofn->nFilterIndex = 1;
   SendDlgItemMessageW(hWnd, cmb1, CB_SETCURSEL, ofn->nFilterIndex - 1, 0);
   lstrcpynW(tmpstr, FD31_GetFileType(ofn->lpstrCustomFilter,
-	     (LPWSTR)ofn->lpstrFilter, ofn->nFilterIndex - 1),BUFFILE);
+	     ofn->lpstrFilter, ofn->nFilterIndex - 1),BUFFILE);
   TRACE("nFilterIndex = %d, SetText of edt1 to %s\n",
   			ofn->nFilterIndex, debugstr_w(tmpstr));
   SetDlgItemTextW( hWnd, edt1, tmpstr );




More information about the wine-cvs mailing list