mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-22 21:57:21 +03:00
Correct variable type to unsigned
* parser.c: fix len sign in xmlParseChunk()
This commit is contained in:
parent
794613770d
commit
7304683335
2
parser.c
2
parser.c
@ -11546,7 +11546,7 @@ xmldecl_done:
|
||||
*/
|
||||
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")) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user