summaryrefslogtreecommitdiff
path: root/src/client/cl_curl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_curl.c')
-rw-r--r--src/client/cl_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c
index fb93aa2f..4c34667c 100644
--- a/src/client/cl_curl.c
+++ b/src/client/cl_curl.c
@@ -218,7 +218,7 @@ static int CL_cURL_CallbackProgress( void *dummy, double dltotal, double dlnow,
return 0;
}
-static int CL_cURL_CallbackWrite(void *buffer, size_t size, size_t nmemb,
+static size_t CL_cURL_CallbackWrite(void *buffer, size_t size, size_t nmemb,
void *stream)
{
FS_Write( buffer, size*nmemb, ((fileHandle_t*)stream)[0] );