2004-08-07 Andrew Cagney <cagney@gnu.org>

* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
This commit is contained in:
Andrew Cagney 2004-08-07 20:06:28 +00:00
parent 5cf7abace1
commit 9b0dea39fa
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2004-08-07 Andrew Cagney <cagney@gnu.org>
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
* gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8
through to builtin_type_uint128.

View File

@ -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;
}