apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r587615 - /apr/apr-util/branches/1.2.x/xml/apr_xml.c
Date Tue, 23 Oct 2007 19:05:09 GMT
Author: wrowe
Date: Tue Oct 23 12:05:09 2007
New Revision: 587615

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

Backport: r587432

Modified:
    apr/apr-util/branches/1.2.x/xml/apr_xml.c

Modified: apr/apr-util/branches/1.2.x/xml/apr_xml.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/xml/apr_xml.c?rev=587615&r1=587614&r2=587615&view=diff
==============================================================================
--- apr/apr-util/branches/1.2.x/xml/apr_xml.c (original)
+++ apr/apr-util/branches/1.2.x/xml/apr_xml.c Tue Oct 23 12:05:09 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