summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 13466d7899..e77c09faaf 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1179,7 +1179,7 @@ rb_fix2str(x, base)
int base;
{
extern const char ruby_digitmap[];
- char buf[SIZEOF_LONG*CHAR_BIT/2 + 2], *b = buf + sizeof buf;
+ char buf[SIZEOF_LONG*CHAR_BIT + 2], *b = buf + sizeof buf;
long val = FIX2LONG(x);
int neg = 0;