aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-08 16:40:24 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-08 16:40:24 +0000
commit31af2d7e053e47aedcee6b90f2d39061fff42b50 (patch)
treebb35c0a91e60af7113d6081cc5db4051ac4dcd95 /gprof/gprof.c
parent0fa6f8f66acb254f0131b484d25960f656bf121e (diff)
downloadgdb-31af2d7e053e47aedcee6b90f2d39061fff42b50.zip
gdb-31af2d7e053e47aedcee6b90f2d39061fff42b50.tar.gz
gdb-31af2d7e053e47aedcee6b90f2d39061fff42b50.tar.bz2
* gprof.c (main): Cast getenv return value.
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);