apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r587432 - /apr/apr-util/trunk/xml/apr_xml.c
Date Tue, 23 Oct 2007 09:50:12 GMT
Author: wrowe
Date: Tue Oct 23 02:50:12 2007
New Revision: 587432

URL: http://svn.apache.org/viewvc?rev=587432&view=rev
Log:
XML_Parse is well-defined as accepting only an int
for the size arg

Modified:
    apr/apr-util/trunk/xml/apr_xml.c

Modified: apr/apr-util/trunk/xml/apr_xml.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/xml/apr_xml.c?rev=587432&r1=587431&r2=587432&view=diff
==============================================================================
--- apr/apr-util/trunk/xml/apr_xml.c (original)
+++ apr/apr-util/trunk/xml/apr_xml.c Tue Oct 23 02:50:12 2007
@@ -383,7 +383,7 @@
         parser->error = APR_XML_ERROR_PARSE_DONE;
     }
     else {
-        int rv = XML_Parse(parser->xp, data, len, is_final);
+        int rv = XML_Parse(parser->xp, data, (int)len, is_final);
 
         if (rv == 0) {
             parser->error = APR_XML_ERROR_EXPAT;



Mime
View raw message