summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index d6919422a4..e408570ad3 100644
--- a/gc.c
+++ b/gc.c
@@ -815,7 +815,7 @@ ruby_get_stack_grow_direction(VALUE *addr)
#define GC_WATER_MARK 512
-int
+size_t
ruby_stack_length(VALUE **p)
{
rb_thread_t *th = GET_THREAD();