Wed Aug 7 14:43:51 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
* core.c (read_function_mappings): Cast xmalloc return.
This commit is contained in:
parent
2792727822
commit
1c34a10879
|
@ -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>
|
Thu Jul 4 12:01:42 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* gprof.c (VERSION): Define as "2.7.1".
|
* gprof.c (VERSION): Define as "2.7.1".
|
||||||
|
|
|
@ -66,7 +66,8 @@ DEFUN (read_function_mappings, (filename), const char *filename)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now we know how big we need to make our table. */
|
/* 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 the input file so we can read it again. */
|
||||||
rewind (file);
|
rewind (file);
|
||||||
|
|
Loading…
Reference in New Issue