urlmon: Cast-qual warning fix.

This commit is contained in:
Paul Vriens 2007-02-07 08:06:41 +01:00 committed by Alexandre Julliard
parent d8b00a071d
commit bb6e47af6c
1 changed files with 2 additions and 2 deletions

View File

@ -1605,7 +1605,7 @@ HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN lpUnkCaller, LPCWSTR szURL, LPW
HRESULT hr; HRESULT hr;
LPWSTR ext; LPWSTR ext;
static const WCHAR header[] = { static WCHAR header[] = {
'H','T','T','P','/','1','.','0',' ','2','0','0',' ', 'H','T','T','P','/','1','.','0',' ','2','0','0',' ',
'O','K','\\','r','\\','n','\\','r','\\','n',0 'O','K','\\','r','\\','n','\\','r','\\','n',0
}; };
@ -1631,7 +1631,7 @@ HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN lpUnkCaller, LPCWSTR szURL, LPW
modified.dwLowDateTime = 0; modified.dwLowDateTime = 0;
if (!CommitUrlCacheEntryW(szURL, cache_path, expire, modified, NORMAL_CACHE_ENTRY, if (!CommitUrlCacheEntryW(szURL, cache_path, expire, modified, NORMAL_CACHE_ENTRY,
(LPWSTR)header, sizeof(header), NULL, NULL)) header, sizeof(header), NULL, NULL))
return E_FAIL; return E_FAIL;
if (lstrlenW(cache_path) > dwBufLength) if (lstrlenW(cache_path) > dwBufLength)