aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime/main.c
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-10-18 21:25:21 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-10-18 21:25:21 +0000
commit1cc0507d4c4ac6799ad44f3804c615efaf72e268 (patch)
tree0769a04922654613317a07a6b2f817cda89a8b9e /libgfortran/runtime/main.c
parentddc4af9c164140e3a6bcbbe448c7cd50719845c8 (diff)
downloadgcc-1cc0507d4c4ac6799ad44f3804c615efaf72e268.zip
gcc-1cc0507d4c4ac6799ad44f3804c615efaf72e268.tar.gz
gcc-1cc0507d4c4ac6799ad44f3804c615efaf72e268.tar.bz2
re PR fortran/32021 (Fix,document,remove GFORTRAN_* environment variables)
PR libfortran/32021 * runtime/backtrace.c (local_strcasestr): Protect by appropriate macros. * runtime/main.c (cleanup): Cast argument to free. * intrinsics/spread_generic.c (spread_internal): Match runtime_error arguments and format. * intrinsics/signal.c (alarm_sub_int_i4, alarm_sub_int_i8): Cast pointers to avoid warnings. From-SVN: r129463
Diffstat (limited to 'libgfortran/runtime/main.c')
-rw-r--r--libgfortran/runtime/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/runtime/main.c b/libgfortran/runtime/main.c
index 86777d9..8632f15 100644
--- a/libgfortran/runtime/main.c
+++ b/libgfortran/runtime/main.c
@@ -176,5 +176,5 @@ cleanup (void)
close_units ();
if (please_free_exe_path_when_done)
- free (exe_path);
+ free ((char *) exe_path);
}