aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/windows-tdep.c')
-rw-r--r--gdb/windows-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c
index dc4e2e4..58e8fca 100644
--- a/gdb/windows-tdep.c
+++ b/gdb/windows-tdep.c
@@ -321,7 +321,7 @@ display_one_tib (ptid_t ptid)
max = tib_size / size;
}
- tib = alloca (tib_size);
+ tib = (gdb_byte *) alloca (tib_size);
if (target_get_tib_address (ptid, &thread_local_base) == 0)
{