aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
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