1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 12:40:00 +00:00

Allocator fix

This commit is contained in:
Sergeanur 2021-01-08 17:21:07 +02:00
parent ecdd751ec3
commit 5fb3edf258
2 changed files with 4 additions and 4 deletions

View file

@ -54,12 +54,12 @@ namespace base
}
};
void* operator new(uint32 size)
void* operator new(size_t size)
{
return base::cMainMemoryManager::Instance()->Allocate(size);
}
void* operator new[](uint32 size)
void* operator new[](size_t size)
{
return base::cMainMemoryManager::Instance()->Allocate(size);
}

View file

@ -33,7 +33,7 @@ namespace base
};
}
void* operator new(uint32 size);
void* operator new[](uint32 size);
void* operator new(size_t size);
void* operator new[](size_t size);
void operator delete(void* buf);
void operator delete[](void* buf);