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 2dc87610da..1585b87feb 100644
--- a/object.c
+++ b/object.c
@@ -808,7 +808,7 @@ nil_to_f(VALUE obj)
static VALUE
nil_to_s(VALUE obj)
{
- return rb_str_new(0, 0);
+ return rb_usascii_str_new(0, 0);
}
/*