urlmon: Cast-qual warnings fix (1 of 2)

Andrew Talbot Andrew.Talbot at talbotville.com
Thu Nov 16 15:54:10 CST 2006


Changelog:
    urlmon: Cast-qual warning fix.

diff -urN a/dlls/urlmon/umon.c b/dlls/urlmon/umon.c
--- a/dlls/urlmon/umon.c	2006-10-25 17:34:57.000000000 +0100
+++ b/dlls/urlmon/umon.c	2006-11-16 21:18:17.000000000 +0000
@@ -1606,7 +1606,7 @@
     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
     };
@@ -1632,7 +1632,7 @@
     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-patches mailing list