2005-01-28 Andrew Cagney <cagney@gnu.org>

* value.h (value_bit_index, print_floating)
	(find_rt_vbase_offset): Make buffer a const bfd_byte.
	* valprint.c (print_floating): Update.
	* valarith.c (value_bit_index): Update.
	* valops.c (find_rt_vbase_offset): Update.
This commit is contained in:
Andrew Cagney
2005-01-28 16:45:16 +00:00
parent acf0f27f9e
commit c84141d67e
5 changed files with 17 additions and 8 deletions

View File

@@ -1354,8 +1354,9 @@ search_struct_field (char *name, struct value *arg1, int offset,
* conventions. */
void
find_rt_vbase_offset (struct type *type, struct type *basetype, char *valaddr,
int offset, int *boffset_p, int *skip_p)
find_rt_vbase_offset (struct type *type, struct type *basetype,
const bfd_byte *valaddr, int offset, int *boffset_p,
int *skip_p)
{
int boffset; /* offset of virtual base */
int index; /* displacement to use in virtual table */