Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 59620 invoked from network); 8 Apr 2010 06:46:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Apr 2010 06:46:00 -0000 Received: (qmail 42857 invoked by uid 500); 8 Apr 2010 06:46:00 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 42754 invoked by uid 500); 8 Apr 2010 06:46:00 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 42742 invoked by uid 99); 8 Apr 2010 06:45:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 06:45:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 06:45:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 526DA23888FE; Thu, 8 Apr 2010 06:45:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r931794 - /httpd/httpd/trunk/server/core.c Date: Thu, 08 Apr 2010 06:45:34 -0000 To: cvs@httpd.apache.org From: rpluem@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100408064534.526DA23888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rpluem Date: Thu Apr 8 06:45:34 2010 New Revision: 931794 URL: http://svn.apache.org/viewvc?rev=931794&view=rev Log: * Fix compiler warning on 64 bit systems (cast from pointer to integer of different size) Modified: httpd/httpd/trunk/server/core.c Modified: httpd/httpd/trunk/server/core.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=931794&r1=931793&r2=931794&view=diff ============================================================================== --- httpd/httpd/trunk/server/core.c (original) +++ httpd/httpd/trunk/server/core.c Thu Apr 8 06:45:34 2010 @@ -2572,7 +2572,7 @@ static const char *include_config (cmd_p ap_directive_t *conftree = NULL; const char *conffile, *error; unsigned *recursion; - int optional = (int)cmd->cmd->cmd_data; + int optional = cmd->cmd->cmd_data ? 1 : 0; void *data; apr_pool_userdata_get(&data, "ap_include_sentinel", cmd->pool);