From: foobar Date: Fri, 16 Jan 2004 19:12:46 +0000 (+0000) Subject: MFH: - Fixed bug #26937 (Warning in xml.c) X-Git-Tag: php-4.3.5RC2~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b74da4a4ac18626c4ed001562ca2b5682d358e5;p=php MFH: - Fixed bug #26937 (Warning in xml.c) --- diff --git a/NEWS b/NEWS index 7637c1c928..26970fcab5 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Jan 2004, Version 4.3.5 +- Fixed bug #26937 (Warning in xml.c). (Jani) - Fixed Bug #26927 (preg_quote() does not escape \0). (Ilia) - Fixed bug #26909 (crash in imap_mime_header_decode() when no encoding is used). (Ilia) diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 38f5cf0d68..fce98f0cc2 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -456,7 +456,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);