mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 15:45:12 -04:00
fix type
This commit is contained in:
parent
29350b363b
commit
2248599ae1
@ -37,7 +37,7 @@ void *myrealloc(void *ptr, size_t size)
|
|||||||
size_t
|
size_t
|
||||||
WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data)
|
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;
|
struct MemoryStruct *mem = (struct MemoryStruct *)data;
|
||||||
|
|
||||||
mem->memory = (char *)myrealloc(mem->memory, mem->size + realsize + 1);
|
mem->memory = (char *)myrealloc(mem->memory, mem->size + realsize + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user