diff options
Diffstat (limited to 'gdb/jv-valprint.c')
-rw-r--r-- | gdb/jv-valprint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/jv-valprint.c b/gdb/jv-valprint.c index 9fc8f50..a8547a5 100644 --- a/gdb/jv-valprint.c +++ b/gdb/jv-valprint.c @@ -99,7 +99,8 @@ java_value_print (struct value *val, struct ui_file *stream, { gdb_byte *buf; - buf = alloca (gdbarch_ptr_bit (gdbarch) / HOST_CHAR_BIT); + buf = ((gdb_byte *) + alloca (gdbarch_ptr_bit (gdbarch) / HOST_CHAR_BIT)); fputs_filtered (", ", stream); wrap_here (n_spaces (2)); |