ruby-changes:38625
From: nobu <ko1@a...>
Date: Mon, 1 Jun 2015 08:06:29 +0900 (JST)
Subject: [ruby-changes:38625] nobu:r50706 (trunk): vm_method.c: suppress warning
nobu 2015-06-01 08:06:25 +0900 (Mon, 01 Jun 2015) New Revision: 50706 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50706 Log: vm_method.c: suppress warning * vm_method.c (rb_frame_visibility_check): suppress comparison warning by gcc 4.8 and 4.9. Modified files: trunk/vm_method.c Index: vm_method.c =================================================================== --- vm_method.c (revision 50705) +++ vm_method.c (revision 50706) @@ -917,7 +917,7 @@ rb_frame_visibility_test(rb_method_flag_ https://github.com/ruby/ruby/blob/trunk/vm_method.c#L917 static int rb_frame_visibility_check(rb_method_flag_t flag) { - return CREF_VISI(rb_vm_cref()) == flag; + return CREF_VISI(rb_vm_cref()) == (long)flag; } void -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/