From: Ruediger Pluem Date: Thu, 8 Apr 2010 06:45:34 +0000 (+0000) Subject: * Fix compiler warning on 64 bit systems (cast from pointer to integer of different... X-Git-Tag: 2.3.6~243 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7b73b77d02ae5e57ee17c6d3e3124e95370ca79;p=thirdparty%2Fapache%2Fhttpd.git * Fix compiler warning on 64 bit systems (cast from pointer to integer of different size) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@931794 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 47ae6ad53de..6045951fb23 100644 --- a/server/core.c +++ b/server/core.c @@ -2572,7 +2572,7 @@ static const char *include_config (cmd_parms *cmd, void *dummy, 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);