mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
* findvar.c (extract_signed_integer): Cast printf argument
to suppress format warning. (extract_unsigned_integer): Likewise. * infcmd.c (registers_info): Likewise. * top.c (get_prompt_1): Likewise. * valops.c (value_assign): Likewise. * valprint.c (print_decimal): Likewise.
This commit is contained in:
@ -57,7 +57,7 @@ extract_signed_integer (void *addr, int len)
|
||||
if (len > (int) sizeof (LONGEST))
|
||||
error ("\
|
||||
That operation is not available on integers of more than %d bytes.",
|
||||
sizeof (LONGEST));
|
||||
(int) sizeof (LONGEST));
|
||||
|
||||
/* Start at the most significant end of the integer, and work towards
|
||||
the least significant. */
|
||||
@ -91,7 +91,7 @@ extract_unsigned_integer (void *addr, int len)
|
||||
if (len > (int) sizeof (ULONGEST))
|
||||
error ("\
|
||||
That operation is not available on integers of more than %d bytes.",
|
||||
sizeof (ULONGEST));
|
||||
(int) sizeof (ULONGEST));
|
||||
|
||||
/* Start at the most significant end of the integer, and work towards
|
||||
the least significant. */
|
||||
|
Reference in New Issue
Block a user