aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/debug.c')
-rw-r--r--docs/examples/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/debug.c b/docs/examples/debug.c
index 1443ae55d..6f7a6383a 100644
--- a/docs/examples/debug.c
+++ b/docs/examples/debug.c
@@ -65,7 +65,7 @@ void dump(const char *text,
static
int my_trace(CURL *handle, curl_infotype type,
- unsigned char *data, size_t size,
+ char *data, size_t size,
void *userp)
{
struct data *config = (struct data *)userp;
@@ -98,7 +98,7 @@ int my_trace(CURL *handle, curl_infotype type,
break;
}
- dump(text, stderr, data, size, config->trace_ascii);
+ dump(text, stderr, (unsigned char *)data, size, config->trace_ascii);
return 0;
}