summaryrefslogtreecommitdiff
path: root/rts/Exception.cmm
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-12-01 12:25:00 -0500
committerBen Gamari <ben@smart-cactus.org>2016-12-01 12:25:00 -0500
commit0ac5e0cb9afc9c15386f381ed41bf514ee2ffde7 (patch)
treea118749f48262617c52b4ca46428da63443cd448 /rts/Exception.cmm
parenta452c6e57a286f3b31f0e3fbef83cbea0cee8b34 (diff)
downloadhaskell-0ac5e0cb9afc9c15386f381ed41bf514ee2ffde7.tar.gz
rts: Fix type of bool literal
Test Plan: Build `p` way Reviewers: austin, erikd, simonmar Reviewed By: simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2779
Diffstat (limited to 'rts/Exception.cmm')
-rw-r--r--rts/Exception.cmm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Exception.cmm b/rts/Exception.cmm
index 2a07eaa6f3..a27227d547 100644
--- a/rts/Exception.cmm
+++ b/rts/Exception.cmm
@@ -456,7 +456,7 @@ stg_raisezh /* explicit stack */
/* ToDo: currently this is a hack. Would be much better if
* the info was only displayed for an *uncaught* exception.
*/
- if (RtsFlags_ProfFlags_showCCSOnException(RtsFlags) != 0::I32) {
+ if (RtsFlags_ProfFlags_showCCSOnException(RtsFlags) != 0::CBool) {
SAVE_THREAD_STATE();
ccall fprintCCS_stderr(CCCS "ptr",
exception "ptr",