From 4bd562595ac888d3e124f394a22e30e6e6a78fa7 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 7 Feb 2006 08:53:37 +0000 Subject: [PATCH] * modules/aaa/mod_authz_core.c (add_authz_provider): Fix pointer cast warning on LP64 platforms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@375549 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_authz_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aaa/mod_authz_core.c b/modules/aaa/mod_authz_core.c index 57ff7c2163..532fbe80c6 100644 --- a/modules/aaa/mod_authz_core.c +++ b/modules/aaa/mod_authz_core.c @@ -173,7 +173,7 @@ static const char *add_authz_provider(cmd_parms *cmd, void *config, newp->provider_name, "0"); newp->req_state = conf->req_state; newp->req_state_level = conf->req_state_level; - newp->is_reject = (int)cmd->info; + newp->is_reject = (cmd->info != NULL); /* by the time the config file is used, the provider should be loaded * and registered with us. -- 2.40.0