win64/debug: Use correct size type for operator new overload

Nicolas Hake 2010-12-13 17:31:21 +01:00
parent c7319206f2
commit d59d5b94f1
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@
#include <stdlib.h>
#include <crtdbg.h>
#endif
inline void *operator new(unsigned int s, const char *szFile, long iLine)
inline void *operator new(size_t s, const char *szFile, long iLine)
{ return ::operator new(s, _NORMAL_BLOCK, szFile, iLine); }
inline void operator delete(void *p, const char *, long)
{ ::operator delete(p); }