summaryrefslogtreecommitdiff
path: root/ext/io/console/console.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-09-24 11:47:04 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-09-24 11:50:38 +0900
commit2366c681166a1dab95de6b9ca8ffcaae18aadd39 (patch)
treec5fa10ccd66ce5fdc0a6535591e869650d26a99b /ext/io/console/console.c
parent14ba62d4881061a1d54b6204b0c4f0b4811ac921 (diff)
suppress meddlesome clang10 warrning
It says: vm.c:2519:34: warning: expression does not compute the number of elements in this array; element type is 'const struct __jmp_buf_tag', not 'VALUE' (aka 'unsigned long') [-Wsizeof-array-div] sizeof(ec->machine.regs) / sizeof(VALUE)); ~~~~~~~~~~~~~~~~ ^ vm.c:2519:34: note: place parentheses around the 'sizeof(VALUE)' expression to silence this warning
Diffstat (limited to 'ext/io/console/console.c')
0 files changed, 0 insertions, 0 deletions