* 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:
Jason Thorpe
2002-04-23 03:00:57 +00:00
parent b2c4da8122
commit baa6f10b32
6 changed files with 18 additions and 8 deletions

View File

@ -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. */