File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ static char *oauth2_check_oauth2_serve_post(const char *request)
549549 if (strncmp (request , post_introspection_path ,
550550 strlen (post_introspection_path )) == 0 ) {
551551 request += strlen (post_introspection_path ) + 5 ;
552- data = strstr (request , sep );
552+ data = strstr (( char * ) request , sep );
553553 if (data == NULL )
554554 goto error ;
555555 data += strlen (sep );
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ static char *oauth2_check_openidc_serve_post(const char *request)
235235 if (strncmp (request , token_endpoint_path ,
236236 strlen (token_endpoint_path )) == 0 ) {
237237 request += strlen (token_endpoint_path ) + 5 ;
238- data = strstr (request , sep );
238+ data = strstr (( char * ) request , sep );
239239 if (data == NULL )
240240 goto error ;
241241 data += strlen (sep );
@@ -817,7 +817,7 @@ static void _openidc_verify_authentication_request_state(
817817{
818818 bool rc = false;
819819 const char * location = NULL ;
820- char * state = NULL ;
820+ const char * state = NULL ;
821821
822822 ck_assert_ptr_ne (NULL , response );
823823 ck_assert_uint_eq (oauth2_http_response_status_code_get (_log , response ),
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ static char *oauth2_check_proto_serve_post(const char *request)
332332 if (strncmp (request , token_endpoint_path ,
333333 strlen (token_endpoint_path )) == 0 ) {
334334 request += strlen (token_endpoint_path ) + 5 ;
335- data = strstr (request , sep );
335+ data = strstr (( char * ) request , sep );
336336 if (data == NULL )
337337 goto error ;
338338 data += strlen (sep );
You can’t perform that action at this time.
0 commit comments