You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2010/04/08 08:45:34 UTC
svn commit: r931794 - /httpd/httpd/trunk/server/core.c
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);