diff options
author | Michał Konopacki <konopacki.m@gmail.com> | 2012-08-13 01:26:36 +0200 |
---|---|---|
committer | Michał Konopacki <konopacki.m@gmail.com> | 2012-08-13 01:45:35 +0200 |
commit | e154e654f1e046a4d60e09d3ef87d1cf9c3ae6ae (patch) | |
tree | 049a2382a5bc8a611fe0ad3df25025eeb7293278 /src/CBot/CBot.h | |
parent | a9186d19609c61c369d881cdbc40cc8973cf883d (diff) | |
download | colobot-e154e654f1e046a4d60e09d3ef87d1cf9c3ae6ae.tar.gz colobot-e154e654f1e046a4d60e09d3ef87d1cf9c3ae6ae.tar.bz2 colobot-e154e654f1e046a4d60e09d3ef87d1cf9c3ae6ae.zip |
Reduced amount of warnings in CBot library
Changed most of C-style casting to C++ casting
Commented unused variables
Diffstat (limited to 'src/CBot/CBot.h')
-rw-r--r-- | src/CBot/CBot.h | 2 |
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) |