comdlg32: Cast-qual warning fix

Andrew Talbot Andrew.Talbot at talbotville.com
Tue Jul 17 15:18:16 CDT 2007


Changelog:
    comdlg32: Cast-qual warning fix.

diff -urN a/dlls/comdlg32/filedlg31.c b/dlls/comdlg32/filedlg31.c
--- a/dlls/comdlg32/filedlg31.c	2007-04-30 13:13:12.000000000 +0100
+++ b/dlls/comdlg32/filedlg31.c	2007-07-17 20:55:50.000000000 +0100
@@ -872,7 +872,7 @@
   	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-patches mailing list