diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 23:53:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 23:53:12 +0000 |
commit | 2248599ae140b03d1d369cfb45cb14b4aea21891 (patch) | |
tree | 62e969ae225b39de55705be82a13d8e50b0f7da1 /docs/examples/getinmemory.c | |
parent | 29350b363b5b230865b800a4980762592694971b (diff) | |
download | curl-2248599ae140b03d1d369cfb45cb14b4aea21891.tar.gz |
fix type
Diffstat (limited to 'docs/examples/getinmemory.c')
-rw-r--r-- | docs/examples/getinmemory.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |