summaryrefslogtreecommitdiff
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
commitd943a6e9816b47be51531161c15314d5711a8106 (patch)
treefa0980b2d56f3b88424682c04003233e17cb0dfb /gdb/doublest.c
parent1303a9aee6f9f7ddd13c170ea156271e278d3d47 (diff)
downloadgdb-d943a6e9816b47be51531161c15314d5711a8106.tar.gz
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 265e69290b7..e4dbb2ae50b 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;
}