1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (gc_with_gvl): suppress warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2009-01-15 15:21:43 +00:00
parent 81bdf8a1f2
commit b5cd33a4ad
3 changed files with 7 additions and 3 deletions

View file

@ -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.

2
gc.c
View file

@ -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

View file

@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.1"
#define RUBY_RELEASE_DATE "2009-01-15"
#define RUBY_RELEASE_DATE "2009-01-16"
#define RUBY_PATCHLEVEL 5000
#define RUBY_BRANCH_NAME "trunk"
@ -8,7 +8,7 @@
#define RUBY_VERSION_TEENY 1
#define RUBY_RELEASE_YEAR 2009
#define RUBY_RELEASE_MONTH 1
#define RUBY_RELEASE_DAY 15
#define RUBY_RELEASE_DAY 16
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];