summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xml/xml.c')
-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 3fc28f8679..376711503b 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -511,7 +511,7 @@ static XML_Char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_
{
int pos = len;
char *newbuf;
- unsigned short c;
+ unsigned int c;
unsigned short (*encoder)(unsigned char) = NULL;
xml_encoding *enc = xml_get_encoding(encoding);