Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 32318 invoked from network); 23 Oct 2007 09:51:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 09:51:03 -0000 Received: (qmail 60769 invoked by uid 500); 23 Oct 2007 09:50:51 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 60732 invoked by uid 500); 23 Oct 2007 09:50:51 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 60721 invoked by uid 99); 23 Oct 2007 09:50:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 02:50:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 09:51:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E82611A983A; Tue, 23 Oct 2007 02:50:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r587432 - /apr/apr-util/trunk/xml/apr_xml.c Date: Tue, 23 Oct 2007 09:50:12 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071023095012.E82611A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;