diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-31 23:06:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-31 23:06:25 +0000 |
commit | 473427a3913d88ae22ccb0a7bd6fbc7abb053dff (patch) | |
tree | 35e4c826732d4697ffde886f4639c4e18d9445d5 | |
parent | c10df9b69839862a9a5aa4c7a4bc32da54a03f12 (diff) |
vm_method.c: suppress warning
* vm_method.c (rb_frame_visibility_check): suppress comparison
warning by gcc 4.8 and 4.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index 2e8c5d721b..1fdb84524e 100644 --- a/vm_method.c +++ b/vm_method.c @@ -917,7 +917,7 @@ rb_frame_visibility_test(rb_method_flag_t flag) 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 |