[janitor] dlls/ole32 -Wwrite-strings cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixed warning with gcc option "-Wwrite-strings".

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];
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux