Wed Aug 7 14:43:51 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
authorIan Lance Taylor <ian@airs.com>
Wed, 7 Aug 1996 18:44:27 +0000 (18:44 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 7 Aug 1996 18:44:27 +0000 (18:44 +0000)
* core.c (read_function_mappings): Cast xmalloc return.

gprof/ChangeLog
gprof/core.c

index 0167f0157419f96c15defd2e7255934c42e7a2d0..78a3d0587a7a9a6754cf60f18c569bdd57400f7f 100644 (file)
@@ -1,3 +1,7 @@
+Wed Aug  7 14:43:51 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * core.c (read_function_mappings): Cast xmalloc return.
+
 Thu Jul  4 12:01:42 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * gprof.c (VERSION): Define as "2.7.1".
index f2e341cb3b6e74dd0fb2588616bc05553c44260a..3103dc281fca8c0dc583728c9c53c90f60c637f8 100644 (file)
@@ -66,7 +66,8 @@ DEFUN (read_function_mappings, (filename), const char *filename)
     }
 
   /* Now we know how big we need to make our table.  */
-  symbol_map = xmalloc (count * sizeof (struct function_map));
+  symbol_map = ((struct function_map *)
+               xmalloc (count * sizeof (struct function_map)));
 
   /* Rewind the input file so we can read it again.  */
   rewind (file);
This page took 0.026031 seconds and 4 git commands to generate.