aboutsummaryrefslogtreecommitdiff
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
parent0fa6f8f66acb254f0131b484d25960f656bf121e (diff)
downloadgdb-31af2d7e053e47aedcee6b90f2d39061fff42b50.zip
gdb-31af2d7e053e47aedcee6b90f2d39061fff42b50.tar.gz
gdb-31af2d7e053e47aedcee6b90f2d39061fff42b50.tar.bz2
* gprof.c (main): Cast getenv return value.
-rw-r--r--gprof/ChangeLog4
-rw-r--r--gprof/gprof.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index e6420b5..56da3a7 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+Wed Nov 8 11:40:04 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * gprof.c (main): Cast getenv return value.
+
Mon Nov 6 15:05:00 1995 Ken Raeburn <raeburn@cygnus.com>
* Makefile.in (TAGS): New target.
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);