Support structure offsets that are 512K or larger.
[deliverable/binutils-gdb.git] / gdb / spu-tdep.c
index ea3229c27ccef09b0168d15f7a4894618b986f18..f62e8e76b6c5b84f910a16cc9c0b01a7a56a1fb4 100644 (file)
@@ -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)
     {
This page took 0.026536 seconds and 4 git commands to generate.