diff options
author | Hanno Böck <hanno@hboeck.de> | 2017-03-30 14:59:14 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-03-30 14:59:14 +0200 |
commit | baaf0ba358787dcab708449399fd5eda25311b4f (patch) | |
tree | ada80eaf5e4c1da1e2076ebc2b4d81a3d0320a5e /src/tool_cb_dbg.h | |
parent | 244e0a36bd01ebbbdbf009ca2be6b78f29740277 (diff) | |
download | curl-baaf0ba358787dcab708449399fd5eda25311b4f.tar.gz |
curl: fix callback functions to match prototype
The function tool_debug_cb doesn't match curl_debug_callback in curl.h
(unsigned vs. signed char* for 3rd param).
Bug: https://curl.haxx.se/mail/lib-2017-03/0120.html
Diffstat (limited to 'src/tool_cb_dbg.h')
-rw-r--r-- | src/tool_cb_dbg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_cb_dbg.h b/src/tool_cb_dbg.h index 7ac15cf9b..c1cbc8073 100644 --- a/src/tool_cb_dbg.h +++ b/src/tool_cb_dbg.h @@ -28,7 +28,7 @@ */ int tool_debug_cb(CURL *handle, curl_infotype type, - unsigned char *data, size_t size, + char *data, size_t size, void *userdata); #endif /* HEADER_CURL_TOOL_CB_DBG_H */ |