]> granicus.if.org Git - apache/commitdiff
* modules/aaa/mod_authz_core.c (add_authz_provider): Fix pointer cast
authorJoe Orton <jorton@apache.org>
Tue, 7 Feb 2006 08:53:37 +0000 (08:53 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 7 Feb 2006 08:53:37 +0000 (08:53 +0000)
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

index 57ff7c21638012f42db7460fca76233abb8a6dfb..532fbe80c6b918b22bafbd56797e9f0850280dc5 100644 (file)
@@ -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.