Fix default_reallocator declaration

This commit is contained in:
herman ten brugge 2024-02-07 07:01:36 +01:00
parent be6584e2b9
commit cd6ad857cf

View file

@ -249,7 +249,7 @@ ST_FUNC char *tcc_load_text(int fd)
#undef free
#undef realloc
static void *default_reallocator(void *ptr, unsigned long size)
static void *default_reallocator(void *ptr, size_t size)
{
void *ptr1;
if (size == 0) {