From 89ba66e071ba23d6cd20a714217432e6c3845eda Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 7 May 2001 12:38:28 +0000 Subject: corrected the read-callback typecase since FILE * was replaced with void * --- lib/http.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3