From e9f385c6bf97c7608c35459bc59c043328366ef6 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 19 Jan 2009 01:44:39 +0000 Subject: * gc.c (garbage_collect_with_gvl): suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ gc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 072d18fd7..97d91c305 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jan 19 10:43:38 2009 Koichi Sasada + + * gc.c (garbage_collect_with_gvl): suppress warnings. + Mon Jan 19 10:34:32 2009 NAKAMURA Usaku * ext/socket/depend: workaround for nmake. files in depend without diff --git a/gc.c b/gc.c index d56d2d170..ab882c50d 100644 --- a/gc.c +++ b/gc.c @@ -593,7 +593,7 @@ garbage_collect_with_gvl(rb_objspace_t *objspace) } else { if (ruby_native_thread_p()) { - return (int)rb_thread_call_with_gvl(gc_with_gvl, (void *)objspace); + return (VALUE)rb_thread_call_with_gvl(gc_with_gvl, (void *)objspace); } else { /* no ruby thread */ -- cgit