From: "nobu (Nobuyoshi Nakada)" <nobu@...>
Date: 2012-08-28T13:58:47+09:00
Subject: [ruby-core:47340] [ruby-trunk - Bug #6930] implicit conversion warnings in vm.c


Issue #6930 has been updated by nobu (Nobuyoshi Nakada).

% Done changed from 100 to 50

Indeed, checkmatch_type should be moved from the `if' block.
Please commit it.
----------------------------------------
Bug #6930: implicit conversion warnings in vm.c
https://bugs.ruby-lang.org/issues/6930#change-29079

Author: Eregon (Benoit Daloze)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-08-25 trunk 36824) [x86_64-darwin10.8.0]


$ make
...
compiling vm.c
In file included from vm.c:69:
vm_insnhelper.c: In function ���vm_setup_method���:
vm_insnhelper.c:530: warning: implicit conversion shortens 64-bit value into a 32-bit value
In file included from vm_exec.c:93,
                 from vm.c:71:
insns.def: In function ���vm_exec_core���:
insns.def:841: warning: implicit conversion shortens 64-bit value into a 32-bit value
insns.def:848: warning: implicit conversion shortens 64-bit value into a 32-bit value
compiling vm_dump.c
compiling vm_backtrace.c
...


-- 
http://bugs.ruby-lang.org/