summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1591.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib1591.c')
-rw-r--r--tests/libtest/lib1591.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib1591.c b/tests/libtest/lib1591.c
index 6dbafb25f..8349b1db5 100644
--- a/tests/libtest/lib1591.c
+++ b/tests/libtest/lib1591.c
@@ -32,7 +32,7 @@
static char data [] = "Hello Cloud!\r\n";
static size_t consumed = 0;
-static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *stream)
+static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream)
{
size_t amount = nmemb * size; /* Total bytes curl wants */