From 7ae0a688b08936e64563d5c1b2bb885fb5b7e7ce Mon Sep 17 00:00:00 2001 From: ludwig Date: Fri, 24 Oct 2008 07:08:52 +0000 Subject: fix return value of CL_cURL_CallbackWrite (#3804) git-svn-id: svn://svn.icculus.org/quake3/trunk@1474 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_curl.c b/code/client/cl_curl.c index 039b893..bb6d768 100644 --- a/code/client/cl_curl.c +++ b/code/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] ); -- cgit v1.2.3