Commit 0b629164 authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

Const correctness fix.

parent bcf43926
...@@ -1417,7 +1417,7 @@ HRESULT WINAPI UrlHashW(LPCWSTR pszUrl, unsigned char *lpDest, DWORD nDestLen) ...@@ -1417,7 +1417,7 @@ HRESULT WINAPI UrlHashW(LPCWSTR pszUrl, unsigned char *lpDest, DWORD nDestLen)
* return the same digests for the same URL. * return the same digests for the same URL.
*/ */
WideCharToMultiByte(0, 0, pszUrl, -1, szUrl, MAX_PATH, 0, 0); WideCharToMultiByte(0, 0, pszUrl, -1, szUrl, MAX_PATH, 0, 0);
HashData((PBYTE)szUrl, (int)strlen(szUrl), lpDest, nDestLen); HashData((const BYTE*)szUrl, (int)strlen(szUrl), lpDest, nDestLen);
return S_OK; return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment