diff options
Diffstat (limited to 'gdb/spu-tdep.c')
-rw-r--r-- | gdb/spu-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c index ea3229c..f62e8e7 100644 --- a/gdb/spu-tdep.c +++ b/gdb/spu-tdep.c @@ -363,7 +363,7 @@ spu_value_from_register (struct gdbarch *gdbarch, struct type *type, { struct value *value = default_value_from_register (gdbarch, type, regnum, frame_id); - int len = TYPE_LENGTH (type); + LONGEST len = TYPE_LENGTH (type); if (regnum < SPU_NUM_GPRS && len < 16) { |