diff options
Diffstat (limited to 'gdb/m88k-tdep.c')
-rw-r--r-- | gdb/m88k-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c index 0ef524c..a932e4c 100644 --- a/gdb/m88k-tdep.c +++ b/gdb/m88k-tdep.c @@ -768,9 +768,9 @@ collect_returned_value (rval, value_type, struct_return, nargs, args) static void write_word (sp, word) CORE_ADDR sp; - REGISTER_TYPE word; + unsigned LONGEST word; { - register int len = sizeof (REGISTER_TYPE); + register int len = REGISTER_SIZE; char buffer[MAX_REGISTER_RAW_SIZE]; store_unsigned_integer (buffer, len, word); |