Skip to content

Commit

Permalink
cast from pointer to integer of different size fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarbonneaux committed Mar 29, 2017
1 parent 3ef96e6 commit e050816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fcgi_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e050816

Please sign in to comment.