summaryrefslogtreecommitdiff
path: root/rts/hooks/StackOverflow.c
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-09-10 11:29:31 +0100
committerIan Lynagh <ian@well-typed.com>2012-09-10 11:29:31 +0100
commit0ee44def597152e6b25ac6647041542a6b1ee6b4 (patch)
treea902cb65e9210148530814442d578c66061ba8c7 /rts/hooks/StackOverflow.c
parent7d847e8222e901bd41919c6363c2cb6597c20d88 (diff)
parentc3b6b3fb1c54adaa3cd88d7c06d80a48c7b90939 (diff)
downloadhaskell-0ee44def597152e6b25ac6647041542a6b1ee6b4.tar.gz
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Diffstat (limited to 'rts/hooks/StackOverflow.c')
-rw-r--r--rts/hooks/StackOverflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/hooks/StackOverflow.c b/rts/hooks/StackOverflow.c
index fe8a059b7f..6a58bb8864 100644
--- a/rts/hooks/StackOverflow.c
+++ b/rts/hooks/StackOverflow.c
@@ -10,7 +10,7 @@
#include <stdio.h>
void
-StackOverflowHook (lnat stack_size) /* in bytes */
+StackOverflowHook (W_ stack_size) /* in bytes */
{
fprintf(stderr, "Stack space overflow: current size %" FMT_SizeT " bytes.\nUse `+RTS -Ksize -RTS' to increase it.\n", stack_size);
}