diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_cb_rea.c | 2 | ||||
-rw-r--r-- | src/tool_cb_rea.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_cb_rea.c b/src/tool_cb_rea.c index eec53b6e3..507373d8f 100644 --- a/src/tool_cb_rea.c +++ b/src/tool_cb_rea.c @@ -35,7 +35,7 @@ ** callback for CURLOPT_READFUNCTION */ -size_t tool_read_cb(void *buffer, size_t sz, size_t nmemb, void *userdata) +size_t tool_read_cb(char *buffer, size_t sz, size_t nmemb, void *userdata) { ssize_t rc; struct InStruct *in = userdata; diff --git a/src/tool_cb_rea.h b/src/tool_cb_rea.h index ea25f17d4..0e5ad470d 100644 --- a/src/tool_cb_rea.h +++ b/src/tool_cb_rea.h @@ -27,7 +27,7 @@ ** callback for CURLOPT_READFUNCTION */ -size_t tool_read_cb(void *buffer, size_t sz, size_t nmemb, void *userdata); +size_t tool_read_cb(char *buffer, size_t sz, size_t nmemb, void *userdata); /* ** callback for CURLOPT_XFERINFOFUNCTION used to unpause busy reads |