shlwapi: Cast-qual warnings fix.

This commit is contained in:
Andrew Talbot 2006-11-15 22:01:51 +00:00 committed by Alexandre Julliard
parent d14d772f80
commit cb12dd6cd9
1 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@ HRESULT WINAPI SHAddDataBlock(LPSHLWAPI_CLIST*,LPCSHLWAPI_CLIST);
*
* Internal helper: move a DataBlock pointer to the next item.
*/
inline static LPSHLWAPI_CLIST NextItem(LPCSHLWAPI_CLIST lpList)
inline static LPSHLWAPI_CLIST NextItem(LPSHLWAPI_CLIST lpList)
{
const char* address = (const char*)lpList;
char* address = (char*)lpList;
address += lpList->ulSize;
return (LPSHLWAPI_CLIST)address;
}