corrected the read-callback typecase since FILE * was replaced with void *

This commit is contained in:
Daniel Stenberg 2001-05-07 12:38:28 +00:00
Родитель 85631150ce
Коммит 89ba66e071
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -718,8 +718,7 @@ CURLcode Curl_http(struct connectdata *conn)
http->storefread = data->fread; /* backup */ http->storefread = data->fread; /* backup */
http->in = data->in; /* backup */ http->in = data->in; /* backup */
data->fread = data->fread = (curl_read_callback)
(size_t (*)(char *, size_t, size_t, FILE *))
Curl_FormReader; /* set the read function to read from the Curl_FormReader; /* set the read function to read from the
generated form data */ generated form data */
data->in = (FILE *)&http->form; data->in = (FILE *)&http->form;