commit | 730468333533f183c95bf4dbb3976a2c1dfe2fba | [log] [tgz] |
---|---|---|
author | Nikolay Sivov <bunglehead@gmail.com> | Tue Jan 19 15:38:05 2010 +0100 |
committer | Daniel Veillard <veillard@redhat.com> | Tue Jan 19 15:38:05 2010 +0100 |
tree | 94293e084316fd26e7a3ce87bfe902ec9bbf3a65 | |
parent | 794613770ddeefa840421425af76babfd939c083 [diff] [blame] |
Correct variable type to unsigned * parser.c: fix len sign in xmlParseChunk()
diff --git a/parser.c b/parser.c index b41dcc3..c779c1d 100644 --- a/parser.c +++ b/parser.c
@@ -11546,7 +11546,7 @@ */ if ((ctxt->instate == XML_PARSER_START) && (ctxt->input != NULL) && (ctxt->input->buf != NULL) && (ctxt->input->buf->encoder != NULL)) { - int len = 45; + unsigned int len = 45; if ((xmlStrcasestr(BAD_CAST ctxt->input->buf->encoder->name, BAD_CAST "UTF-16")) ||