mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added parentheses to silence sizeof-array-div warnings
As well as 2366c68116
.
This commit is contained in:
parent
9ec6c83c97
commit
9ab6d39a66
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -6420,7 +6420,7 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_execution_context_t *ec
|
||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
rb_jmp_buf j;
|
rb_jmp_buf j;
|
||||||
VALUE v[sizeof(rb_jmp_buf) / sizeof(VALUE)];
|
VALUE v[sizeof(rb_jmp_buf) / (sizeof(VALUE))];
|
||||||
} save_regs_gc_mark;
|
} save_regs_gc_mark;
|
||||||
VALUE *stack_start, *stack_end;
|
VALUE *stack_start, *stack_end;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue