summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiusrex <killakan002@hotmail.com>2014-01-05 23:07:46 +0100
committerDiusrex <killakan002@hotmail.com>2014-01-05 23:07:46 +0100
commit1acbf07445d4dbd2d8badd3a4be709ebc4cb2a3e (patch)
treec994a2606f90393bb0444b898a7c85525b2c0184
parentAdded warning(push) and warning(pop) around all of the inclusions of cryptopp/*.h (diff)
downloadcuberite-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.h2
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