Browse Source

r7341@Kushana: nickm | 2006-08-11 00:51:05 -0700
Amazing how much difference adding a ! to all your asserts can make.


svn:r7029

Nick Mathewson 18 years ago
parent
commit
b68ffcc193
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/util.h

+ 1 - 1
src/common/util.h

@@ -39,7 +39,7 @@
 #error "Sorry; we don't support building with NDEBUG."
 #else
 #ifdef __GNUC__
-#define PREDICT_FALSE(x) PREDICT((x) != ((typeof(x)) 0), 0)
+#define PREDICT_FALSE(x) PREDICT((x) == ((typeof(x)) 0), 0)
 #else
 #define PREDICT_FALSE(x) !(x)
 #endif