diff options
-rw-r--r-- | gprof/ChangeLog | 4 | ||||
-rw-r--r-- | gprof/gprof.c | 2 |
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); |