diff options
Diffstat (limited to 'gcc/fortran/options.c')
-rw-r--r-- | gcc/fortran/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c index 99bb719..ad639ee 100644 --- a/gcc/fortran/options.c +++ b/gcc/fortran/options.c @@ -239,7 +239,7 @@ gfc_post_options (const char **pfilename) gfc_add_include_path (".", true); if (canon_source_file != gfc_source_file) - gfc_free ((void *) canon_source_file); + gfc_free (CONST_CAST (canon_source_file)); /* Decide which form the file will be read in as. */ |