You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/10/23 11:50:12 UTC

svn commit: r587432 - /apr/apr-util/trunk/xml/apr_xml.c

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;