[urlmon 1/2] Cast-qual warning fix
Paul Vriens
paul.vriens.wine at gmail.com
Wed Feb 7 01:06:41 CST 2007
Hi,
Fix a warning and remove the now not needed cast.
Changelog
Cast-qual warning fix
Cheers,
Paul.
-------------- next part --------------
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(LPUNKNOWN lpUnkCaller, LPCWSTR szURL, LPW
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(LPUNKNOWN lpUnkCaller, LPCWSTR szURL, LPW
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)
--
1.4.4.4
More information about the wine-patches
mailing list