Skip to content

Commit e692af5

Browse files
authored
MONGOCRYPT-959: fix gcc-16 warning (#1206)
1 parent 0be392b commit e692af5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kms-message/src/kms_request.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ parse_query_params (kms_request_str_t *q)
3232
kms_request_str_t *k, *v;
3333

3434
do {
35-
equals = strchr ((const char *) p, '=');
35+
equals = strchr (p, '=');
3636
if (!equals) {
3737
kms_kv_list_destroy (lst);
3838
return NULL;
3939
}
40-
amp = strchr ((const char *) equals, '&');
40+
amp = strchr (equals, '&');
4141
if (!amp) {
4242
amp = end;
4343
}

0 commit comments

Comments
 (0)