summaryrefslogtreecommitdiff
path: root/ext/-test-/symbol
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/symbol')
-rw-r--r--ext/-test-/symbol/type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/symbol/type.c b/ext/-test-/symbol/type.c
index 296c74c..e51e09e 100644
--- a/ext/-test-/symbol/type.c
+++ b/ext/-test-/symbol/type.c
@@ -38,7 +38,7 @@ bug_sym_attrset(VALUE self, VALUE name)
static VALUE
bug_id2str(VALUE self, VALUE sym)
{
- return rb_id2str(SYM2ID(sym));
+ return rb_sym2str(sym);
}
static VALUE