Fix default_reallocator declaration
This commit is contained in:
parent
be6584e2b9
commit
cd6ad857cf
1 changed files with 1 additions and 1 deletions
2
libtcc.c
2
libtcc.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue