2005-10-28  Andrew W. Nosenko  <[EMAIL PROTECTED]>

        * encoding.c:
        (xmlIconvWrapper): avoid GCC warning about passing argument from
        incompatible pointer type.

--
Andrew W. Nosenko <[EMAIL PROTECTED]>
2005-10-28  Andrew W. Nosenko  <[EMAIL PROTECTED]>

	* encoding.c:
	(xmlIconvWrapper): avoid GCC warning about passing argument from
	incompatible pointer type.

Index: encoding.c
===================================================================
RCS file: /cvs/gnome/libxml2/encoding.c,v
retrieving revision 1.96
diff -u -p -r1.96 encoding.c
--- encoding.c	2 Sep 2005 12:28:32 -0000	1.96
+++ encoding.c	28 Oct 2005 10:33:03 -0000
@@ -1701,7 +1701,7 @@ xmlIconvWrapper(iconv_t cd, unsigned cha
     }
     icv_inlen = *inlen;
     icv_outlen = *outlen;
-    ret = iconv(cd, (char **) &icv_in, &icv_inlen, &icv_out, &icv_outlen);
+    ret = iconv(cd, (const char **) &icv_in, &icv_inlen, &icv_out, &icv_outlen);
     if (in != NULL) {
         *inlen -= icv_inlen;
         *outlen -= icv_outlen;
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to