aboutsummaryrefslogtreecommitdiff
path: root/gdb/doublest.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-15 21:33:44 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-15 21:33:44 +0000
commit1c704f11228124aef7609b245bfaf33d7225fd3c (patch)
treeda47b52e757d70d396a43aa3a1060161c4b16ed7 /gdb/doublest.c
parenta58f15343cabf4a90ff8eded8f802a5ba2f5331b (diff)
downloadfsf-binutils-gdb-1c704f11228124aef7609b245bfaf33d7225fd3c.zip
fsf-binutils-gdb-1c704f11228124aef7609b245bfaf33d7225fd3c.tar.gz
fsf-binutils-gdb-1c704f11228124aef7609b245bfaf33d7225fd3c.tar.bz2
2003-09-15 Andrew Cagney <cagney@redhat.com>
* doublest.c (convert_floatformat_to_doublest): No longer need to cast "exp_bias" to an int. Reverts 2002-12-04 change.
Diffstat (limited to 'gdb/doublest.c')
-rw-r--r--gdb/doublest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/doublest.c b/gdb/doublest.c
index 09bb155..3f283e1 100644
--- a/gdb/doublest.c
+++ b/gdb/doublest.c
@@ -180,7 +180,7 @@ convert_floatformat_to_doublest (const struct floatformat *fmt,
if (!special_exponent)
exponent -= fmt->exp_bias;
else if (exponent == 0)
- exponent = 1 - (int) fmt->exp_bias;
+ exponent = 1 - fmt->exp_bias;
/* Build the result algebraically. Might go infinite, underflow, etc;
who cares. */