summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 1fd19c6396..70be2c21b4 100644
--- a/pack.c
+++ b/pack.c
@@ -343,7 +343,7 @@ num2i32(x)
if (TYPE(x) == T_BIGNUM) {
return rb_big2ulong_pack(x);
}
- rb_raise(rb_eTypeError, "cannot conver %s to `integer'", rb_obj_classname(x));
+ rb_raise(rb_eTypeError, "cannot convert %s to `integer'", rb_obj_classname(x));
return 0; /* not reached */
}