summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/xml/xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 53b541bc83..184a030fc5 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -667,7 +667,7 @@ PHPAPI char *xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_
{
int pos = len;
char *newbuf = emalloc(len + 1);
- unsigned short c;
+ unsigned int c;
char (*decoder)(unsigned short) = NULL;
xml_encoding *enc = NULL;