diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 16:27:50 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 16:27:50 +0000 |
commit | 39c214984072280723f4c30efa3a2eeff7c13629 (patch) | |
tree | d3689214cd7ad85f49cf6c65c15e51eeef656f86 /tool/ruby_vm | |
parent | 0d654f3dee042b342c2758ecb683813b42294c23 (diff) | |
download | ruby-39c214984072280723f4c30efa3a2eeff7c13629.tar.gz |
`signed` is required for Rasbian (x86_64).
* tool/ruby_vm/views/_insn_stack_increase.erb: specify `signed` explicitly
for systems which use `unsigned` for `char` type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ruby_vm')
-rw-r--r-- | tool/ruby_vm/views/_insn_stack_increase.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ruby_vm/views/_insn_stack_increase.erb b/tool/ruby_vm/views/_insn_stack_increase.erb index 566e06c95e..bfe0a3dc6b 100644 --- a/tool/ruby_vm/views/_insn_stack_increase.erb +++ b/tool/ruby_vm/views/_insn_stack_increase.erb @@ -23,7 +23,7 @@ insn_stack_increase_dispatch(enum ruby_vminsn_type insn, const VALUE *opes) }.join(', ') -%>, % end }; - char c = t[insn]; + signed char c = t[insn]; ASSERT_VM_INSTRUCTION_SIZE(t); if (c != -127) { |