--- code/client/cl_curl.c~orig 2008-10-09 15:23:31.000000000 +0200 +++ code/client/cl_curl.c 2008-10-23 11:16:01.000000000 +0200 @@ -218,7 +218,7 @@ 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] );