mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 13:59:25 +00:00
Sync to Wine-20041201
Eric Pouech <pouech-eric@wanadoo.fr> - Const correctness fixes. svn path=/trunk/; revision=11972
This commit is contained in:
parent
2899606a4b
commit
bc927431e4
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ HRESULT WINAPI SHAddDataBlock(LPSHLWAPI_CLIST*,LPCSHLWAPI_CLIST);
|
|||
*/
|
||||
inline static LPSHLWAPI_CLIST NextItem(LPCSHLWAPI_CLIST lpList)
|
||||
{
|
||||
const char* address = (char*)lpList;
|
||||
const char* address = (const char*)lpList;
|
||||
address += lpList->ulSize;
|
||||
return (LPSHLWAPI_CLIST)address;
|
||||
}
|
||||
|
|
|
@ -1394,7 +1394,7 @@ HRESULT WINAPI UrlHashA(LPCSTR pszUrl, unsigned char *lpDest, DWORD nDestLen)
|
|||
if (IsBadStringPtrA(pszUrl, -1) || IsBadWritePtr(lpDest, nDestLen))
|
||||
return E_INVALIDARG;
|
||||
|
||||
HashData((PBYTE)pszUrl, (int)strlen(pszUrl), lpDest, nDestLen);
|
||||
HashData((const BYTE*)pszUrl, (int)strlen(pszUrl), lpDest, nDestLen);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue