summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1527.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib1527.c')
-rw-r--r--tests/libtest/lib1527.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib1527.c b/tests/libtest/lib1527.c
index 32e9fb57c..9e0e452a0 100644
--- a/tests/libtest/lib1527.c
+++ b/tests/libtest/lib1527.c
@@ -31,7 +31,7 @@
static char data [] = "Hello Cloud!\n";
-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 */
if(amount < strlen(data)) {