From c7b73b77d02ae5e57ee17c6d3e3124e95370ca79 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Thu, 8 Apr 2010 06:45:34 +0000 Subject: [PATCH] * 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 --- server/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core.c b/server/core.c index 47ae6ad53d..6045951fb2 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); -- 2.50.1