]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/varobj.c
* ada-lang.c (ada_coerce_to_simple_array_type): Use builtin_type_int32
[thirdparty/binutils-gdb.git] / gdb / varobj.c
index 3a0bf5e373dfbc06d7c64d2f6fa072f255cbc280..35d876ff09229241944ccf291cb9882966113fa0 100644 (file)
@@ -2072,7 +2072,7 @@ c_describe_child (struct varobj *parent, int index,
        {
          int real_index = index + TYPE_LOW_BOUND (TYPE_INDEX_TYPE (type));
          struct value *indval = 
-           value_from_longest (builtin_type_int, (LONGEST) real_index);
+           value_from_longest (builtin_type_int32, (LONGEST) real_index);
          gdb_value_subscript (value, indval, cvalue);
        }