diff options
author | Jason Thorpe <thorpej@netbsd.org> | 2002-04-23 03:00:57 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@netbsd.org> | 2002-04-23 03:00:57 +0000 |
commit | 0dae80fb9fd4dbf5adde42aa0cb8016a3de9ac05 (patch) | |
tree | 5391c01b28a4c3dbac08e11d6b24a57886bc9641 /gdb/valops.c | |
parent | 2699b55694636c65b6e80f2f657cfcbc468b443f (diff) | |
download | gdb-0dae80fb9fd4dbf5adde42aa0cb8016a3de9ac05.tar.gz |
* 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.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 3db7341df6e..16d3c8cf3a2 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -607,7 +607,7 @@ value_assign (struct value *toval, struct value *fromval) if (changed_len > (int) sizeof (LONGEST)) error ("Can't handle bitfields which don't fit in a %d bit word.", - sizeof (LONGEST) * HOST_CHAR_BIT); + (int) sizeof (LONGEST) * HOST_CHAR_BIT); read_memory (VALUE_ADDRESS (toval) + VALUE_OFFSET (toval), buffer, changed_len); @@ -644,7 +644,7 @@ value_assign (struct value *toval, struct value *fromval) if (len > (int) sizeof (LONGEST)) error ("Can't handle bitfields in registers larger than %d bits.", - sizeof (LONGEST) * HOST_CHAR_BIT); + (int) sizeof (LONGEST) * HOST_CHAR_BIT); if (VALUE_BITPOS (toval) + VALUE_BITSIZE (toval) > len * HOST_CHAR_BIT) |