diff options
Diffstat (limited to 'gprof/printgprof.c')
-rw-r--r-- | gprof/printgprof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/printgprof.c b/gprof/printgprof.c index e8d5582..a717673 100644 --- a/gprof/printgprof.c +++ b/gprof/printgprof.c @@ -766,7 +766,7 @@ PTR xmalloc (size) long size; { - PTR val = malloc (size); + PTR val = (PTR) malloc (size); if (val == NULL) { fprintf (stderr, "virtual memory exhaused\n"); exit (1); @@ -779,7 +779,7 @@ xrealloc (oldval, size) PTR oldval; long size; { - PTR val = realloc (oldval, size); + PTR val = (PTR) realloc (oldval, size); if (val == NULL) { fprintf (stderr, "virtual memory exhaused\n"); exit (1); |