[libxml2] Correct variable type to unsigned
- From: Daniel Veillard <veillard src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libxml2] Correct variable type to unsigned
- Date: Tue, 19 Jan 2010 14:39:20 +0000 (UTC)
commit 730468333533f183c95bf4dbb3976a2c1dfe2fba
Author: Nikolay Sivov <bunglehead gmail com>
Date: Tue Jan 19 15:38:05 2010 +0100
Correct variable type to unsigned
* parser.c: fix len sign in xmlParseChunk()
parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/parser.c b/parser.c
index b41dcc3..c779c1d 100644
--- a/parser.c
+++ b/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")) ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]