aboutsummaryrefslogtreecommitdiff
path: root/gprof/source.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/source.c')
-rw-r--r--gprof/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/source.c b/gprof/source.c
index 3943f33..1a445d3 100644
--- a/gprof/source.c
+++ b/gprof/source.c
@@ -237,7 +237,7 @@ annotate_source (Source_File *sf, unsigned int max_width,
fprintf (ofp, _("*** File %s:\n"), sf->name);
}
- annotation = xmalloc (max_width + 1);
+ annotation = (char *) xmalloc (max_width + 1);
line_num = 1;
new_line = TRUE;