Parcourir la 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 il y a 19 ans
Parent
commit
b68ffcc193
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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