diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2017-11-27 09:46:55 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-11-27 10:20:55 -0500 |
commit | f713be7a29052ee68bbe5f502533a9271898da74 (patch) | |
tree | 74f04c3584c3fe99a024d7e13c73b37b3fa37189 /rts/RtsFlags.c | |
parent | b241d6db1a8155fc939700f01cc2fa5f89906f34 (diff) | |
download | haskell-f713be7a29052ee68bbe5f502533a9271898da74.tar.gz |
RtsFlags: allow +RTS -K0
Reviewers: erikd, simonmar, hvr
Reviewed By: hvr
Subscribers: hvr, rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4238
Diffstat (limited to 'rts/RtsFlags.c')
-rw-r--r-- | rts/RtsFlags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index ecb9228234..39b1273caa 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -1015,7 +1015,7 @@ error = true; case 'K': OPTION_UNSAFE; RtsFlags.GcFlags.maxStkSize = - decodeSize(rts_argv[arg], 2, sizeof(W_), HS_WORD_MAX) + decodeSize(rts_argv[arg], 2, 0, HS_WORD_MAX) / sizeof(W_); break; |