Const correctness fix.

This commit is contained in:
Jon Griffiths 2005-01-03 14:37:41 +00:00 committed by Alexandre Julliard
parent bcf439261a
commit 0b6291644d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }