]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/windows-tdep.c
Add casts to memory allocation related calls
[thirdparty/binutils-gdb.git] / gdb / windows-tdep.c
index dc4e2e43c1c071153f6abe00cc8bfe89de3a54d5..58e8fcacd3f163808e343e4912eef4d1fc9493b2 100644 (file)
@@ -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)
     {