summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gns/gnunet-gns-proxy.c2
-rw-r--r--src/rest/gnunet-rest-server.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index a6b053e56..bae222499 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -2191,7 +2191,7 @@ create_response (void *cls,
}
MHD_get_connection_values (con,
MHD_HEADER_KIND,
- &con_val_iter,
+ (MHD_KeyValueIterator) &con_val_iter,
s5r);
curl_easy_setopt (s5r->curl,
CURLOPT_HTTPHEADER,
diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c
index f9e954912..3cbb750ba 100644
--- a/src/rest/gnunet-rest-server.c
+++ b/src/rest/gnunet-rest-server.c
@@ -416,11 +416,11 @@ create_response (void *cls,
con_handle->data_handle = rest_conndata_handle;
MHD_get_connection_values (con,
MHD_GET_ARGUMENT_KIND,
- &url_iterator,
+ (MHD_KeyValueIterator) &url_iterator,
rest_conndata_handle);
MHD_get_connection_values (con,
MHD_HEADER_KIND,
- &header_iterator,
+ (MHD_KeyValueIterator) &header_iterator,
rest_conndata_handle);
con_handle->pp = MHD_create_post_processor(con,
65536,