aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index 1f17b9c00..4984d684d 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -718,8 +718,7 @@ CURLcode Curl_http(struct connectdata *conn)
http->storefread = data->fread; /* backup */
http->in = data->in; /* backup */
- data->fread =
- (size_t (*)(char *, size_t, size_t, FILE *))
+ data->fread = (curl_read_callback)
Curl_FormReader; /* set the read function to read from the
generated form data */
data->in = (FILE *)&http->form;