summaryrefslogtreecommitdiff
path: root/includes/Cmm.h
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-06-20 15:10:39 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-06-20 15:10:39 +0000
commitfb684b4309f0d9b3eb823961c93271a406cd1bf6 (patch)
tree0edc55e17b83b7ca0e5182130ce4a01d38e0740a /includes/Cmm.h
parent71899d3e335e763e61f1308bd38b10a18b110791 (diff)
downloadhaskell-fb684b4309f0d9b3eb823961c93271a406cd1bf6.tar.gz
fix sloppy conditionals
Diffstat (limited to 'includes/Cmm.h')
-rw-r--r--includes/Cmm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Cmm.h b/includes/Cmm.h
index 783b0e41bb..d95002c5af 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