Bläddra i källkod

Fixed compiler warnings in malloc.cpp on x86

Fixes #3248

Thanks to @laziem
Lemongrass3110 6 år sedan
förälder
incheckning
a4336fd8ae
1 ändrade filer med 5 tillägg och 1 borttagningar
  1. 5 1
      src/common/malloc.cpp

+ 5 - 1
src/common/malloc.cpp

@@ -10,7 +10,11 @@
 #include "core.hpp"
 #include "showmsg.hpp"
 
-#define FREED_POINTER 0xdeadbeafL
+#if defined(__64BIT__)
+	#define FREED_POINTER 0xdeadbeafL
+#else
+	#define FREED_POINTER 0x7eadbeafL
+#endif
 
 ////////////// Memory Libraries //////////////////