aboutsummaryrefslogtreecommitdiff
path: root/gdb/doublest.c
diff options
context:
space:
mode:
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. */