Commit b5da42af authored by Daniel Veillard's avatar Daniel Veillard

small patch to try to fix a warning with Sun One compiler Daniel

* encoding.c: small patch to try to fix a warning with Sun One compiler
Daniel
parent 3288882e
Sat Feb 21 16:57:48 CET 2004 Daniel Veillard <daniel@veillard.com>
* encoding.c: small patch to try to fix a warning with Sun One compiler
Sat Feb 21 16:22:35 CET 2004 Daniel Veillard <daniel@veillard.com>
* encoding.c: small patch removing a warning with MS compiler.
......
......@@ -2131,7 +2131,7 @@ xmlByteConsumed(xmlParserCtxtPtr ctxt) {
*/
if (in->end - in->cur > 0) {
static unsigned char convbuf[32000];
unsigned const char *cur = in->cur;
unsigned const char *cur = (unsigned const char *)in->cur;
int toconv = in->end - in->cur, written = 32000;
int ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment