@@ -528,7 +528,7 @@ static const char *oidc_set_public_key_files(cmd_parms *cmd, void *struct_ptr,
528528 cmd -> server -> module_config , & auth_openidc_module );
529529
530530 int offset = (int ) (long ) cmd -> info ;
531- apr_hash_t * * public_keys = (apr_hash_t * * ) ((void * ) cfg + offset );
531+ apr_hash_t * * public_keys = (apr_hash_t * * ) ((char * ) cfg + offset );
532532
533533 if (apr_jwk_parse_rsa_public_key (cmd -> pool , arg , & jwk , & err ) == FALSE) {
534534 return apr_psprintf (cmd -> pool ,
@@ -551,7 +551,7 @@ static const char *oidc_set_shared_keys(cmd_parms *cmd, void *struct_ptr,
551551 oidc_cfg * cfg = (oidc_cfg * ) ap_get_module_config (
552552 cmd -> server -> module_config , & auth_openidc_module );
553553 int offset = (int ) (long ) cmd -> info ;
554- apr_hash_t * * shared_keys = (apr_hash_t * * ) ((void * ) cfg + offset );
554+ apr_hash_t * * shared_keys = (apr_hash_t * * ) ((char * ) cfg + offset );
555555 * shared_keys = oidc_util_merge_symmetric_key (cmd -> pool , * shared_keys , arg ,
556556 NULL );
557557 return NULL ;
@@ -702,7 +702,7 @@ static const char *oidc_set_remote_user_claim(cmd_parms *cmd, void *struct_ptr,
702702
703703 int offset = (int ) (long ) cmd -> info ;
704704 oidc_remote_user_claim_t * remote_user_claim =
705- (oidc_remote_user_claim_t * ) ((void * ) cfg + offset );
705+ (oidc_remote_user_claim_t * ) ((char * ) cfg + offset );
706706
707707 remote_user_claim -> claim_name = v1 ;
708708 if (v2 )
0 commit comments