Re: [xml] xmlChar * to char *
- From: Chris Peto <cpeto resource-solutions de>
- To: xml gnome org
- Subject: Re: [xml] xmlChar * to char *
- Date: Tue, 24 Oct 2006 10:30:37 +0000 (UTC)
Daniel Veillard <veillard <at> redhat.com> writes:
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
I did a cast and still come up with a string that start with 0xc2. My original
character in xsd was °. By parsing I get, even after cast, c2b0 string.
What must I do?
Thanks,
Chris Peto
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]