summaryrefslogtreecommitdiffstats
path: root/src/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/download.c')
-rw-r--r--src/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/download.c b/src/download.c
index 2f3a836..0b6b076 100644
--- a/src/download.c
+++ b/src/download.c
@@ -43,7 +43,7 @@ static size_t download_write_buffer_callback(char* data, size_t size, size_t nme
return total;
}
-int download_to_buffer(const char* url, char** buf, uint32_t* length)
+int download_to_buffer(const char* url, void** buf, size_t* length)
{
int res = 0;
CURL* handle = curl_easy_init();