summaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index c708fac590a..e17ca3c2845 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -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 */