comdlg32/filedlg.c: Fix compiler warnings with flag -Wcast-qual
Mikhail Maroukhine
mikolg at yandex.ru
Sat Mar 27 03:12:28 CDT 2010
Remove constness from pointer declaration because in the code it's used not as const pointer
---
dlls/comdlg32/filedlg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c
index 5f90fe1..64cb393 100644
--- a/dlls/comdlg32/filedlg.c
+++ b/dlls/comdlg32/filedlg.c
@@ -240,7 +240,7 @@ static BOOL GetFileName95(FileOpenDlgInfos *fodInfos)
{
LRESULT lRes;
- LPCVOID template;
+ LPVOID template;
HRSRC hRes;
HANDLE hDlgTmpl = 0;
HRESULT hr;
--
1.6.3.3
------------spBM1kYJJ9zPRKJMOhvXZA--
More information about the wine-patches
mailing list