Commit 0ac5e0cb authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

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
parent a452c6e5
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment