Skip to content

Commit

Permalink
merges r21533 from trunk into ruby_1_9_1.
Browse files Browse the repository at this point in the history
* gc.c (gc_with_gvl): suppress warnings.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
yugui committed Jan 15, 2009
1 parent 477263e commit 2067adb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
Fri Jan 16 00:19:55 2009 Koichi Sasada <ko1@atdot.net>

* gc.c (gc_with_gvl): suppress warnings.

Thu Jan 15 20:44:30 2009 Tanaka Akira <akr@fsij.org>

* tool/file2lastrev.rb: RUBY_REVISION must be an integer.
Expand Down
2 changes: 1 addition & 1 deletion gc.c
Expand Up @@ -582,7 +582,7 @@ negative_size_allocation_error(const char *msg)
static void *
gc_with_gvl(void *ptr)
{
return (void *)garbage_collect((rb_objspace_t *)ptr);
return (void *)(VALUE)garbage_collect((rb_objspace_t *)ptr);
}

static int
Expand Down

0 comments on commit 2067adb

Please sign in to comment.