forked from Mirrors/openclonk
win64/debug: Use correct size type for operator new overload
parent
c7319206f2
commit
d59d5b94f1
|
@ -76,7 +76,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <crtdbg.h>
|
#include <crtdbg.h>
|
||||||
#endif
|
#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); }
|
{ return ::operator new(s, _NORMAL_BLOCK, szFile, iLine); }
|
||||||
inline void operator delete(void *p, const char *, long)
|
inline void operator delete(void *p, const char *, long)
|
||||||
{ ::operator delete(p); }
|
{ ::operator delete(p); }
|
||||||
|
|
Loading…
Reference in New Issue