From fb684b4309f0d9b3eb823961c93271a406cd1bf6 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 20 Jun 2006 15:10:39 +0000 Subject: [PATCH] fix sloppy conditionals --- includes/Cmm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Cmm.h b/includes/Cmm.h index 783b0e4..d95002c 100644 --- a/includes/Cmm.h +++ b/includes/Cmm.h @@ -214,7 +214,7 @@ * 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 -- 1.7.10.4