* gprof.c (main): Cast getenv return value.
This commit is contained in:
parent
0fa6f8f66a
commit
31af2d7e05
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue