diff options
Diffstat (limited to 'source/gameengine/Expressions/ErrorValue.h')
-rw-r--r-- | source/gameengine/Expressions/ErrorValue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Expressions/ErrorValue.h b/source/gameengine/Expressions/ErrorValue.h index 2f65850c4f1..6bd131b762d 100644 --- a/source/gameengine/Expressions/ErrorValue.h +++ b/source/gameengine/Expressions/ErrorValue.h @@ -37,7 +37,7 @@ private: #ifdef WITH_CXX_GUARDEDALLOC public: - void *operator new( unsigned int num_bytes) { return MEM_mallocN(num_bytes, "GE:CErrorValue"); } + void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:CErrorValue"); } void operator delete( void *mem ) { MEM_freeN(mem); } #endif }; |