aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r--gdb/jv-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index 4430633..39d8f48 100644
--- a/gdb/jv-lang.c
+++ b/gdb/jv-lang.c
@@ -775,7 +775,7 @@ java_array_type (struct type *type, int dims)
while (dims-- > 0)
{
- range_type = create_range_type (NULL, builtin_type_int, 0, 0);
+ range_type = create_range_type (NULL, builtin_type_int32, 0, 0);
/* FIXME This is bogus! Java arrays are not gdb arrays! */
type = create_array_type (NULL, type, range_type);
}