aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-11 14:24:59 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-11 14:24:59 +0000
commitfa16d38700e5fbbeb00dbdbad7567366e97e154f (patch)
tree44c5a25afb766d7ef72a43864677c96f148d8c5e /gas/expr.c
parent7b50b349e217f7c560ea8dac8aa67655a7d0e8d3 (diff)
downloadgdb-fa16d38700e5fbbeb00dbdbad7567366e97e154f.zip
gdb-fa16d38700e5fbbeb00dbdbad7567366e97e154f.tar.gz
gdb-fa16d38700e5fbbeb00dbdbad7567366e97e154f.tar.bz2
1999-09-11 Donn Terry <donn@interix.com>
* expr.c (integer_constant): Correct too_many_digits calculation in base 10 case.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/expr.c b/gas/expr.c
index c50e2c2..fcc633f 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -389,7 +389,7 @@ integer_constant (radix, expressionP)
break;
case 10:
maxdig = radix = 10;
- too_many_digits = (valuesize + 12) / 4; /* very rough */
+ too_many_digits = (valuesize + 11) / 4; /* very rough */
}
#undef valuesize
start = input_line_pointer;