Add casts to memory allocation related calls
[deliverable/binutils-gdb.git] / gdb / corelow.c
index 92180036771dae3aebf27bc3d49a9917466549f7..5462e0297782dd34483aa6f57b922af34b8e3a20 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))
     {
This page took 0.025968 seconds and 4 git commands to generate.