Skip to content

Commit

Permalink
update signature for hash_foreach vall
Browse files Browse the repository at this point in the history
Signed-off-by: Keenan Brock <keenan@thebrocks.net>
  • Loading branch information
kbrock committed Sep 11, 2024
1 parent 9355e4f commit 0929f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/ext/ovirtsdk4c/ov_http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ static void ov_http_client_prepare_handle(ov_http_client_object* client_ptr, ov_

/* Set the headers: */
if (!NIL_P(request_ptr->headers)) {
rb_hash_foreach(request_ptr->headers, ov_http_client_add_header, (VALUE) headers);
rb_hash_foreach(request_ptr->headers, (int (*)(VALUE, VALUE, VALUE)) ov_http_client_add_header, (VALUE) headers);
}
curl_easy_setopt(handle, CURLOPT_HTTPHEADER, *headers);

Expand Down

0 comments on commit 0929f7d

Please sign in to comment.