diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-15 21:33:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-15 21:33:44 +0000 |
commit | 6e28b62086cf2a2eb93d9cc5620c481831fe363e (patch) | |
tree | a25e5e57007a4599156cceb8df62d92f54ae79b2 | |
parent | 5c9572afe44149ac8c8b047520c87b9f0e8e1c93 (diff) | |
download | gdb-6e28b62086cf2a2eb93d9cc5620c481831fe363e.tar.gz |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doublest.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c1f776d54d1..2d2d746dced 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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. + 2003-09-15 Daniel Jacobowitz <drow@mvista.com> * values.c (unpack_double): Call floatformat_is_valid. diff --git a/gdb/doublest.c b/gdb/doublest.c index 09bb15502ba..3f283e13ffa 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. */ |