summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 5ed026acdf..669e422331 100644
--- a/bignum.c
+++ b/bignum.c
@@ -904,7 +904,7 @@ rb_big2str0(VALUE x, int base, int trim)
return rb_fix2str(x, base);
}
if (BIGZEROP(x)) {
- return rb_str_new2("0");
+ return rb_usascii_str_new2("0");
}
if (base < 2 || 36 < base)