summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 6f36ec7e13..e826cb9f63 100644
--- a/object.c
+++ b/object.c
@@ -776,7 +776,7 @@ rb_to_id(name)
case T_FIXNUM:
id = FIX2LONG(name);
if (!rb_id2name(id)) {
- rb_raise(rb_eArgError, "%d is not a symbol", id);
+ rb_raise(rb_eArgError, "%ld is not a symbol", id);
}
break;
case T_SYMBOL: