diff options
author | Alan Modra <amodra@gmail.com> | 2001-03-14 03:14:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-03-14 03:14:56 +0000 |
commit | 0eee5820aa0f68b2283b40f5a3fb09aefcfb1575 (patch) | |
tree | 849fb8ae327bfed38a9afe6c45bed35e4a96703a /gprof/cg_arcs.c | |
parent | 04847a4d3e1cf5c5c811f8fbbdeeca498de51dc4 (diff) | |
download | binutils-gdb-0eee5820aa0f68b2283b40f5a3fb09aefcfb1575.tar.gz |
David Mosberger's fixes for cross compiling gprof.
Diffstat (limited to 'gprof/cg_arcs.c')
-rw-r--r-- | gprof/cg_arcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/cg_arcs.c b/gprof/cg_arcs.c index 07023170ded..7ea048b0694 100644 --- a/gprof/cg_arcs.c +++ b/gprof/cg_arcs.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1983 Regents of the University of California. + * Copyright (c) 1983, 2001 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted @@ -102,7 +102,7 @@ DEFUN (arc_add, (parent, child, count), if (maxarcs == 0) maxarcs = 1; maxarcs *= 2; - + /* Allocate the new array. */ newarcs = (Arc **)xmalloc(sizeof (Arc *) * maxarcs); |