summaryrefslogtreecommitdiff
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 03ab66d580..08e91ea039 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -909,7 +909,7 @@ rb_method_entry_make(VALUE klass, ID mid, VALUE defined_class, rb_method_visibil
}
if (iseq) {
rb_compile_warning(RSTRING_PTR(rb_iseq_path(iseq)),
- FIX2INT(ISEQ_BODY(iseq)->location.first_lineno),
+ ISEQ_BODY(iseq)->location.first_lineno,
"previous definition of %"PRIsVALUE" was here",
rb_id2str(old_def->original_id));
}