gdb.base/gcore.c (array_func): Add reference to static_array.
[deliverable/binutils-gdb.git] / gdb / p-valprint.c
index 0ceddd1faa3f6c146a0c25651f4e8ce189a65048..4e1c812c41c7c169a82885c74b9230d7056d4188 100644 (file)
@@ -768,7 +768,7 @@ pascal_object_print_value (struct type *type, const gdb_byte *valaddr,
              gdb_byte *buf;
              struct cleanup *back_to;
 
-             buf = xmalloc (TYPE_LENGTH (baseclass));
+             buf = (gdb_byte *) xmalloc (TYPE_LENGTH (baseclass));
              back_to = make_cleanup (xfree, buf);
 
              base_valaddr = buf;
This page took 0.023245 seconds and 4 git commands to generate.