symtab.c: Add cast
[deliverable/binutils-gdb.git] / gdb / corelow.c
index 92180036771dae3aebf27bc3d49a9917466549f7..f7a8bb3af9e84b0e2c33199e1a48656a42964c72 100644 (file)
@@ -547,7 +547,7 @@ get_core_register_section (struct regcache *regcache,
               section_name);
     }
 
-  contents = alloca (size);
+  contents = (char *) alloca (size);
   if (! bfd_get_section_contents (core_bfd, section, contents,
                                  (file_ptr) 0, size))
     {
@@ -656,7 +656,7 @@ struct spuid_list
 static void
 add_to_spuid_list (bfd *abfd, asection *asect, void *list_p)
 {
-  struct spuid_list *list = list_p;
+  struct spuid_list *list = (struct spuid_list *) list_p;
   enum bfd_endian byte_order
     = bfd_big_endian (abfd) ? BFD_ENDIAN_BIG : BFD_ENDIAN_LITTLE;
   int fd, pos = 0;
This page took 0.02369 seconds and 4 git commands to generate.