diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/leeds/base/memoryManager.cpp | 4 | ||||
-rw-r--r-- | src/leeds/base/memoryManager.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/leeds/base/memoryManager.cpp b/src/leeds/base/memoryManager.cpp index 7f6145bd..20604299 100644 --- a/src/leeds/base/memoryManager.cpp +++ b/src/leeds/base/memoryManager.cpp @@ -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); } diff --git a/src/leeds/base/memoryManager.h b/src/leeds/base/memoryManager.h index 97ee4a43..a4b1beac 100644 --- a/src/leeds/base/memoryManager.h +++ b/src/leeds/base/memoryManager.h @@ -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);
\ No newline at end of file |