aboutsummaryrefslogtreecommitdiff
path: root/gdb/doublest.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-07 20:06:28 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-07 20:06:28 +0000
commit9b0dea39fa2f08a6156386f67680520e74f046d8 (patch)
tree10b34ae312356bb6bf908c5e5cd3a355b2dfbec0 /gdb/doublest.c
parent5cf7abace19872a601b6149b109da7088ffc67cf (diff)
downloadgdb-9b0dea39fa2f08a6156386f67680520e74f046d8.zip
gdb-9b0dea39fa2f08a6156386f67680520e74f046d8.tar.gz
gdb-9b0dea39fa2f08a6156386f67680520e74f046d8.tar.bz2
2004-08-07 Andrew Cagney <cagney@gnu.org>
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
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 265e692..e4dbb2a 100644
--- a/gdb/doublest.c
+++ b/gdb/doublest.c
@@ -652,7 +652,7 @@ floatformat_from_length (int len)
format = NULL;
if (format == NULL)
error ("Unrecognized %d-bit floating-point type.",
- len & TARGET_CHAR_BIT);
+ len * TARGET_CHAR_BIT);
return format;
}