From: Daniel Stenberg Date: Fri, 4 Feb 2005 23:53:12 +0000 (+0000) Subject: fix type X-Git-Tag: before_ftp_statemachine~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2248599ae140b03d1d369cfb45cb14b4aea21891;p=curl fix type --- diff --git a/docs/examples/getinmemory.c b/docs/examples/getinmemory.c index 5a77e9c7e..3ca3aedd2 100644 --- a/docs/examples/getinmemory.c +++ b/docs/examples/getinmemory.c @@ -37,7 +37,7 @@ void *myrealloc(void *ptr, size_t size) size_t WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data) { - register int realsize = size * nmemb; + size_t realsize = size * nmemb; struct MemoryStruct *mem = (struct MemoryStruct *)data; mem->memory = (char *)myrealloc(mem->memory, mem->size + realsize + 1);