summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-21 09:36:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-21 09:36:31 +0000
commit3819849ac195b9034e0cb9f6101978adfc18b6f0 (patch)
tree98e0a5e2e8b666b108800e8c2b664bebc5c14f78 /bignum.c
parent05ebd131cf45588e9225aa0ecdf3c7ec28138f47 (diff)
* bignum.c (rb_cstr_to_inum): unnecessarily long buffer was used
for radix 9. [ruby-dev:20057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 5917f04..01c8824 100644
--- a/bignum.c
+++ b/bignum.c
@@ -389,7 +389,7 @@ rb_cstr_to_inum(str, base, badcheck)
if (str[0] == '0' && (str[1] == 'd'||str[1] == 'D')) {
str += 2;
}
- case 11: case 12: case 13: case 14: case 15:
+ case 9: case 11: case 12: case 13: case 14: case 15:
len = 4;
break;
case 16: