From: Joe Orton Date: Tue, 7 Feb 2006 08:53:37 +0000 (+0000) Subject: * modules/aaa/mod_authz_core.c (add_authz_provider): Fix pointer cast X-Git-Tag: 2.3.0~2555 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd562595ac888d3e124f394a22e30e6e6a78fa7;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/modules/aaa/mod_authz_core.c b/modules/aaa/mod_authz_core.c index 57ff7c21638..532fbe80c6b 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.