fix type
This commit is contained in:
parent
29350b363b
commit
2248599ae1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user