@@ -306,7 +306,7 @@ const char *oidc_cmd_dir_pass_claims_as_set(cmd_parms *cmd, void *m, const char
306
306
{OIDC_APPINFO_PASS_BOTH , OIDC_APPINFO_PASS_BOTH_STR }};
307
307
308
308
rv = oidc_cfg_parse_option (cmd -> pool , pass_options , OIDC_CFG_OPTIONS_SIZE (pass_options ), arg1 ,
309
- ( int * ) & dir_cfg -> pass_info_in );
309
+ & dir_cfg -> pass_info_in );
310
310
311
311
static const oidc_cfg_option_t encoding_options [] = {
312
312
{OIDC_APPINFO_ENCODING_NONE , OIDC_APPINFO_ENCODING_NONE_STR },
@@ -315,7 +315,7 @@ const char *oidc_cmd_dir_pass_claims_as_set(cmd_parms *cmd, void *m, const char
315
315
316
316
if ((rv == NULL ) && (arg2 != NULL ))
317
317
rv = oidc_cfg_parse_option (cmd -> pool , encoding_options , OIDC_CFG_OPTIONS_SIZE (encoding_options ), arg2 ,
318
- ( int * ) & dir_cfg -> pass_info_encoding );
318
+ & dir_cfg -> pass_info_encoding );
319
319
320
320
return OIDC_CONFIG_DIR_RV (cmd , rv );
321
321
}
@@ -348,7 +348,7 @@ const char *oidc_cmd_dir_unauth_action_set(cmd_parms *cmd, void *m, const char *
348
348
oidc_dir_cfg_t * dir_cfg = (oidc_dir_cfg_t * )m ;
349
349
const char * rv =
350
350
oidc_cfg_parse_option (cmd -> pool , unauth_action_options , OIDC_CFG_OPTIONS_SIZE (unauth_action_options ), arg1 ,
351
- ( int * ) & dir_cfg -> unauth_action );
351
+ & dir_cfg -> unauth_action );
352
352
if (rv == NULL )
353
353
rv = oidc_util_apr_expr_parse (cmd , arg2 , & dir_cfg -> unauth_expression , FALSE);
354
354
return OIDC_CONFIG_DIR_RV (cmd , rv );
@@ -368,8 +368,8 @@ const char *oidc_cmd_dir_unautz_action_set(cmd_parms *cmd, void *m, const char *
368
368
{OIDC_UNAUTZ_RETURN401 , OIDC_UNAUTZ_RETURN401_STR },
369
369
{OIDC_UNAUTZ_AUTHENTICATE , OIDC_UNAUTZ_AUTHENTICATE_STR },
370
370
{OIDC_UNAUTZ_RETURN302 , OIDC_UNAUTZ_RETURN302_STR }};
371
- const char * rv = oidc_cfg_parse_option ( cmd -> pool , options , OIDC_CFG_OPTIONS_SIZE ( options ), arg1 ,
372
- ( int * ) & dir_cfg -> unautz_action );
371
+ const char * rv =
372
+ oidc_cfg_parse_option ( cmd -> pool , options , OIDC_CFG_OPTIONS_SIZE ( options ), arg1 , & dir_cfg -> unautz_action );
373
373
if ((rv == NULL ) && (arg2 != NULL )) {
374
374
dir_cfg -> unauthz_arg = apr_pstrdup (cmd -> pool , arg2 );
375
375
} else if (dir_cfg -> unautz_action == OIDC_UNAUTZ_RETURN302 ) {
0 commit comments