diff options
Diffstat (limited to 'rts/hooks')
-rw-r--r-- | rts/hooks/OutOfHeap.c | 2 | ||||
-rw-r--r-- | rts/hooks/StackOverflow.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rts/hooks/OutOfHeap.c b/rts/hooks/OutOfHeap.c index 5e68750d71..3058cdd856 100644 --- a/rts/hooks/OutOfHeap.c +++ b/rts/hooks/OutOfHeap.c @@ -20,7 +20,7 @@ OutOfHeapHook (W_ request_size, W_ heap_size) /* both sizes in bytes */ " bytes (%" FMT_Word " MB).", heap_size, heap_size / (1024*1024)); - if (rtsConfig.rts_opts_suggestions == rtsTrue) { + if (rtsConfig.rts_opts_suggestions == true) { if (rtsConfig.rts_opts_enabled == RtsOptsAll) { errorBelch("Use `+RTS -M<size>' to increase it."); diff --git a/rts/hooks/StackOverflow.c b/rts/hooks/StackOverflow.c index 602700ad77..e1a90097e9 100644 --- a/rts/hooks/StackOverflow.c +++ b/rts/hooks/StackOverflow.c @@ -17,7 +17,7 @@ StackOverflowHook (W_ stack_size) /* in bytes */ errorBelch("Stack space overflow: current size %" FMT_Word " bytes.", stack_size); - if (rtsConfig.rts_opts_suggestions == rtsTrue) { + if (rtsConfig.rts_opts_suggestions == true) { if (rtsConfig.rts_opts_enabled == RtsOptsAll) { errorBelch("Use `+RTS -Ksize -RTS' to increase it."); } else { |