]> granicus.if.org Git - php/commitdiff
these should have remained ints
authorRob Richards <rrichards@php.net>
Wed, 5 Oct 2005 19:52:58 +0000 (19:52 +0000)
committerRob Richards <rrichards@php.net>
Wed, 5 Oct 2005 19:52:58 +0000 (19:52 +0000)
ext/xmlreader/php_xmlreader.c

index 548ebb0c619f7ceabade5d81a0b9b0505b367959..9514217084749c29604c7a6fa8c9510d2945a800 100644 (file)
@@ -944,7 +944,7 @@ Sets the string that the the XMLReader will parse. */
 PHP_METHOD(xmlreader, XML)
 {
        zval *id;
-       long source_len = 0, encoding_len = 0;
+       int source_len = 0, encoding_len = 0;
        long options = 0;
        xmlreader_object *intern;
        char *source, *uri = NULL, *encoding = NULL;