* ada-lang.c (assign_component): Use platform-specific integer type
[deliverable/binutils-gdb.git] / gdb / m2-lang.c
index 85fa1237d6fde6aacf1aefcc8b0fb2fa427229ee..90c3b2f8081e7901dff36e8ffe90da56d8eb9a78 100644 (file)
@@ -275,7 +275,7 @@ evaluate_subexp_modula2 (struct type *expect_type, struct expression *exp,
     }
 
  nosideret:
-  return value_from_longest (builtin_type_int8, (LONGEST) 1);
+  return value_from_longest (builtin_type (exp->gdbarch)->builtin_int, 1);
 }
 \f
 
This page took 0.024839 seconds and 4 git commands to generate.