Skip to content

Commit e050816

Browse files
committed
cast from pointer to integer of different size fix
1 parent 3ef96e6 commit e050816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fcgi_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ const char *fcgi_config_new_auth_server(cmd_parms * cmd,
12041204
if (compat && strcasecmp(compat, "-compat"))
12051205
return ap_psprintf(cmd->temp_pool, "%s: unknown option: \"%s\"", cmd->cmd->name, compat);
12061206

1207-
switch((int)cmd->info) {
1207+
switch((intptr_t)cmd->info) {
12081208
case FCGI_AUTH_TYPE_AUTHENTICATOR:
12091209
dir_config->authenticator = auth_server;
12101210
dir_config->authenticator_options |= (compat) ? FCGI_COMPAT : 0;

0 commit comments

Comments
 (0)