[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] xmlChar * to char *
- From: Daniel Veillard <veillard redhat com>
- To: xml gnome org
- Subject: Re: [xml] xmlChar * to char *
- Date: Fri, 16 Dec 2005 07:47:45 -0500
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/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]