summaryrefslogtreecommitdiffstats
path: root/src/CBot/CBot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CBot/CBot.h')
-rw-r--r--src/CBot/CBot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CBot/CBot.h b/src/CBot/CBot.h
index 924d37b..53a5633 100644
--- a/src/CBot/CBot.h
+++ b/src/CBot/CBot.h
@@ -29,7 +29,7 @@
#define STACKMEM true /// \def preserve memory for the execution stack
#define MAXSTACK 990 /// \def stack size reserved
-#define EOX (CBotStack*)-1 /// \def tag special condition
+#define EOX (reinterpret_cast<CBotStack*>(-1)) /// \def tag special condition
// fix for MSVC instruction __asm int 3 (setting a trap)