Paul Vriens : urlmon: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 7 04:53:13 CST 2007


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Wed Feb  7 08:06:41 2007 +0100

urlmon: Cast-qual warning fix.

---

 dlls/urlmon/umon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/umon.c b/dlls/urlmon/umon.c
index 49260ab..d593c81 100644
--- a/dlls/urlmon/umon.c
+++ b/dlls/urlmon/umon.c
@@ -1605,7 +1605,7 @@ HRESULT WINAPI URLDownloadToCacheFileW(L
     HRESULT hr;
     LPWSTR ext;
 
-    static const WCHAR header[] = {
+    static WCHAR header[] = {
         'H','T','T','P','/','1','.','0',' ','2','0','0',' ',
         'O','K','\\','r','\\','n','\\','r','\\','n',0
     };
@@ -1631,7 +1631,7 @@ HRESULT WINAPI URLDownloadToCacheFileW(L
     modified.dwLowDateTime = 0;
 
     if (!CommitUrlCacheEntryW(szURL, cache_path, expire, modified, NORMAL_CACHE_ENTRY,
-                              (LPWSTR)header, sizeof(header), NULL, NULL))
+                              header, sizeof(header), NULL, NULL))
         return E_FAIL;
 
     if (lstrlenW(cache_path) > dwBufLength)




More information about the wine-cvs mailing list