diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-11-29 16:51:30 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-11-29 16:51:30 -0500 |
commit | 428e152be6bb0fd3867e41cee82a6d5968a11a26 (patch) | |
tree | e43d217c10c052704f872cd7e1df4d335c12d376 /rts/RtsUtils.c | |
parent | 56d74515396c8b6360ba7898cbc4b68f0f1fb2ea (diff) | |
download | haskell-428e152be6bb0fd3867e41cee82a6d5968a11a26.tar.gz |
Use C99's bool
Test Plan: Validate on lots of platforms
Reviewers: erikd, simonmar, austin
Reviewed By: erikd, simonmar
Subscribers: michalt, thomie
Differential Revision: https://phabricator.haskell.org/D2699
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r-- | rts/RtsUtils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c index 3a9742744f..31dc060244 100644 --- a/rts/RtsUtils.c +++ b/rts/RtsUtils.c @@ -155,7 +155,7 @@ heapOverflow(void) rtsConfig.outOfHeapHook(0/*unknown request size*/, (W_)RtsFlags.GcFlags.maxHeapSize * BLOCK_SIZE); - heap_overflow = rtsTrue; + heap_overflow = true; } } @@ -187,7 +187,7 @@ time_str(void) -------------------------------------------------------------------------- */ char * -showStgWord64(StgWord64 x, char *s, rtsBool with_commas) +showStgWord64(StgWord64 x, char *s, bool with_commas) { if (with_commas) { if (x < (StgWord64)1e3) |