fix sloppy conditionals
[ghc-hetmet.git] / includes / Cmm.h
index 783b0e4..d95002c 100644 (file)
  * Note the syntax is slightly different to the C version of this macro.
  */
 #ifdef DEBUG
-#define IF_DEBUG(c,s)  if (RtsFlags_DebugFlags_##c(RtsFlags)) { s; }
+#define IF_DEBUG(c,s)  if (RtsFlags_DebugFlags_##c(RtsFlags) != 0::I32) { s; }
 #else
 #define IF_DEBUG(c,s)  /* nothing */
 #endif