diff options
author | Diusrex <killakan002@hotmail.com> | 2014-01-05 23:07:46 +0100 |
---|---|---|
committer | Diusrex <killakan002@hotmail.com> | 2014-01-05 23:07:46 +0100 |
commit | 1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e (patch) | |
tree | c994a2606f90393bb0444b898a7c85525b2c0184 | |
parent | Added warning(push) and warning(pop) around all of the inclusions of cryptopp/*.h (diff) | |
download | cuberite-1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e.tar cuberite-1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e.tar.gz cuberite-1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e.tar.bz2 cuberite-1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e.tar.lz cuberite-1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e.tar.xz cuberite-1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e.tar.zst cuberite-1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e.zip |
-rw-r--r-- | src/Globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Globals.h b/src/Globals.h index 6a9b2050d..a761da404 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -204,7 +204,7 @@ typedef unsigned short UInt16; #ifdef _DEBUG #define ASSERT( x ) ( !!(x) || ( LOGERROR("Assertion failed: %s, file %s, line %i", #x, __FILE__, __LINE__ ), assert(0), 0 ) ) #else - #define ASSERT(x) ((void)0) + #define ASSERT(x) ((void)(x)) #endif // Pretty much the same as ASSERT() but stays in Release builds |