[janitor] dlls/ole32 -Wwrite-strings cleanup
Daniel Marmier
d.marmier at bluewin.ch
Sat Oct 4 10:44:44 CDT 2003
Fixed warning with gcc option "-Wwrite-strings".
-------------- next part --------------
Index: dlls/ole32/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.83
diff -u -r1.83 compobj.c
--- dlls/ole32/compobj.c 11 Sep 2003 03:06:25 -0000 1.83
+++ dlls/ole32/compobj.c 4 Oct 2003 15:32:55 -0000
@@ -506,7 +506,7 @@
LPCSTR idstr, /* [in] string representation of guid */
CLSID *id) /* [out] GUID converted from string */
{
- BYTE *s = (BYTE *) idstr;
+ const BYTE *s = (BYTE *) idstr;
int i;
BYTE table[256];
More information about the wine-patches
mailing list