summaryrefslogtreecommitdiff
path: root/src/tool_cb_dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_cb_dbg.c')
-rw-r--r--src/tool_cb_dbg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tool_cb_dbg.c b/src/tool_cb_dbg.c
index f4252ad88..4eeb7b210 100644
--- a/src/tool_cb_dbg.c
+++ b/src/tool_cb_dbg.c
@@ -41,7 +41,7 @@ static void dump(const char *timebuf, const char *text,
*/
int tool_debug_cb(CURL *handle, curl_infotype type,
- unsigned char *data, size_t size,
+ char *data, size_t size,
void *userdata)
{
struct OperationConfig *operation = userdata;
@@ -209,7 +209,8 @@ int tool_debug_cb(CURL *handle, curl_infotype type,
break;
}
- dump(timebuf, text, output, data, size, config->tracetype, type);
+ dump(timebuf, text, output, (unsigned char *) data, size, config->tracetype,
+ type);
return 0;
}