shlwapi: Cast-qual warnings fix (1 of 4)

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Nov 15 16:01:51 CST 2006


Changelog:
    shlwapi: Cast-qual warnings fix.

diff -urN a/dlls/shlwapi/clist.c b/dlls/shlwapi/clist.c
--- a/dlls/shlwapi/clist.c	2006-10-06 19:38:06.000000000 +0100
+++ b/dlls/shlwapi/clist.c	2006-11-15 19:18:14.000000000 +0000
@@ -49,9 +49,9 @@
  *
  * 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;
 }



More information about the wine-patches mailing list