diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-12 14:22:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-06-13 15:12:45 +0900 |
commit | 9ab6d39a66f4df16d0a6940a966afc69ba6c14d3 (patch) | |
tree | dc7169669af506afdc768aec514d2ba969738ba0 /gc.c | |
parent | 9ec6c83c97d9e66b6d165329c0711bf8e096afaf (diff) |
Added parentheses to silence sizeof-array-div warnings
As well as 2366c681166a1dab95de6b9ca8ffcaae18aadd39.
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6420,7 +6420,7 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_execution_context_t *ec { union { rb_jmp_buf j; - VALUE v[sizeof(rb_jmp_buf) / sizeof(VALUE)]; + VALUE v[sizeof(rb_jmp_buf) / (sizeof(VALUE))]; } save_regs_gc_mark; VALUE *stack_start, *stack_end; |