forked from Imagelibrary/binutils-gdb
* dfp.c (decimal_from_string): Remove superfluous newline from
error string. (decimal_to_string): Likewise. * printcmd.c (printf_command): Change string buffer to use MAX_DECIMAL_STRING constant. * value.c (value_from_decfloat): Likewise.
This commit is contained in:
@@ -1652,7 +1652,7 @@ value_from_decfloat (struct type *expect_type, struct type *type,
|
||||
if (expect_type)
|
||||
{
|
||||
int expect_len = TYPE_LENGTH (expect_type);
|
||||
char decstr[128];
|
||||
char decstr[MAX_DECIMAL_STRING];
|
||||
int real_len;
|
||||
|
||||
decimal_to_string (decbytes, len, decstr);
|
||||
|
||||
Reference in New Issue
Block a user