]> granicus.if.org Git - php/commitdiff
MFH: - Fixed bug #26937 (Warning in xml.c)
authorfoobar <sniper@php.net>
Fri, 16 Jan 2004 19:12:46 +0000 (19:12 +0000)
committerfoobar <sniper@php.net>
Fri, 16 Jan 2004 19:12:46 +0000 (19:12 +0000)
NEWS
ext/xml/xml.c

diff --git a/NEWS b/NEWS
index 7637c1c92869d479db3d8740e6cc43dea4a8e5c8..26970fcab53d97db2dfdf67c3269d6e48af4e32c 100644 (file)
--- 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)
index 38f5cf0d6884c0d1ba5cbacee056eee0b09bfa1d..fce98f0cc24c98f00f14e5dd82c26f4d4a7bff1c 100644 (file)
@@ -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);