On Fri, Dec 16, 2005 at 01:41:15PM +0100, Baurzhan Ismagulov wrote: > On Fri, Dec 16, 2005 at 02:59:16AM -0500, Daniel Veillard wrote: > > an xmlChar * has a stricter semantic than char *, that's why > > there is a macro to do this in one direction and not in the other one. > > But gcc 4 warns about xmlChar * being passed to functions like strcpy; I > think the OP's question was whether there are any other solution than > casting.
no, just cast. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
