aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r--gprof/gprof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index b54600b..5da3180 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -387,7 +387,7 @@ DEFUN (main, (argc, argv), int argc AND char **argv)
}
/* append value of GPROF_PATH to source search list if set: */
- str = getenv ("GPROF_PATH");
+ str = (char *) getenv ("GPROF_PATH");
if (str)
{
search_list_append (&src_search_list, str);