diff --git a/fcgi_config.c b/fcgi_config.c index bafd921..48b22e5 100644 --- a/fcgi_config.c +++ b/fcgi_config.c @@ -1204,7 +1204,7 @@ const char *fcgi_config_new_auth_server(cmd_parms * cmd, if (compat && strcasecmp(compat, "-compat")) return ap_psprintf(cmd->temp_pool, "%s: unknown option: \"%s\"", cmd->cmd->name, compat); - switch((int)cmd->info) { + switch((intptr_t)cmd->info) { case FCGI_AUTH_TYPE_AUTHENTICATOR: dir_config->authenticator = auth_server; dir_config->authenticator_options |= (compat) ? FCGI_COMPAT : 0;