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

* gc.c: Fix build on m68k by 'error: too few arguments to

function 'mark_locations_array''.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
iwamatsu 2011-05-20 06:05:54 +00:00
parent 7e1e46b99d
commit e6a51e8f8c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri May 20 05:15:19 2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* gc.c: Fix build on m68k by 'error: too few arguments to
function 'mark_locations_array''.
Fri May 20 04:23:42 2011 Eric Hodel <drbrain@segment7.net>
* lib/scanf.rb: Improve documentation. Patch by Gabe McArthur.

2
gc.c
View file

@ -2349,7 +2349,7 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th)
rb_gc_mark_locations(th->machine_register_stack_start, th->machine_register_stack_end);
#endif
#if defined(__mc68000__)
mark_locations_array((VALUE*)((char*)STACK_END + 2),
mark_locations_array(objspace, (VALUE*)((char*)STACK_END + 2),
(STACK_START - STACK_END));
#endif
}