diff options
Diffstat (limited to 'gdb/m32r-tdep.c')
-rw-r--r-- | gdb/m32r-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c index b5839be..48cc42c 100644 --- a/gdb/m32r-tdep.c +++ b/gdb/m32r-tdep.c @@ -710,11 +710,11 @@ m32r_push_dummy_call (struct gdbarch *gdbarch, struct value *function, { /* Value gets right-justified in the register or stack word. */ memcpy (valbuf + (register_size (gdbarch, argreg) - len), - (gdb_byte *) value_contents (args[argnum]), len); + (gdb_byte *) value_contents (args[argnum]).data (), len); val = valbuf; } else - val = (gdb_byte *) value_contents (args[argnum]); + val = (gdb_byte *) value_contents (args[argnum]).data (); while (len > 0) { |