mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (gc_sweep): suppres a warning on VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d837ce5eda
commit
ccba83feff
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon May 24 09:19:59 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* gc.c (gc_sweep): suppres a warning on VC.
|
||||
|
||||
Mon May 24 08:16:02 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* process.c (rb_f_spawn): use correct command name for the error
|
||||
|
|
2
gc.c
2
gc.c
|
@ -1908,7 +1908,7 @@ gc_sweep(rb_objspace_t *objspace)
|
|||
RVALUE *pp;
|
||||
|
||||
for (pp = final_list; pp != final; pp = pp->as.free.next) {
|
||||
RDATA(pp)->dmark = (void (*)())(VALUE)&heaps[i];
|
||||
RDATA(pp)->dmark = (void (*)_((void *)))(VALUE)&heaps[i];
|
||||
pp->as.free.flags |= FL_SINGLETON; /* freeing page mark */
|
||||
}
|
||||
heaps[i].limit = final_num;
|
||||
|
|
Loading…
Reference in a new issue