diff options
Diffstat (limited to 'gdb/tracefile-tfile.c')
-rw-r--r-- | gdb/tracefile-tfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracefile-tfile.c b/gdb/tracefile-tfile.c index 8cc36b82695..68ff5b14b79 100644 --- a/gdb/tracefile-tfile.c +++ b/gdb/tracefile-tfile.c @@ -805,7 +805,7 @@ tfile_fetch_registers (struct target_ops *ops, if (traceframe_find_block_type ('R', 0) >= 0) { - gdb_byte *regs = alloca (trace_regblock_size); + gdb_byte *regs = (gdb_byte *) alloca (trace_regblock_size); tfile_read (regs, trace_regblock_size); |