aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib552.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-02-27 09:06:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-02-27 09:06:15 +0000
commitb12fef3f3137bc606d283a2e527dd9050edf2b12 (patch)
tree1dd1c8756405c783cb0c0935eb9870b8c639e089 /tests/libtest/lib552.c
parent6cc8df95dd11cc24ffd8b9c64bb4a3ca5eeae1b7 (diff)
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
test code. Thanks to his curl_easy_setopt() typechecker work...
Diffstat (limited to 'tests/libtest/lib552.c')
-rw-r--r--tests/libtest/lib552.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib552.c b/tests/libtest/lib552.c
index 8c6e2be37..3cfeffe73 100644
--- a/tests/libtest/lib552.c
+++ b/tests/libtest/lib552.c
@@ -67,7 +67,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;
@@ -100,7 +100,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;
}