aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/st.c')
-rw-r--r--gcc/fortran/st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/st.c b/gcc/fortran/st.c
index 8084453..777e4eb 100644
--- a/gcc/fortran/st.c
+++ b/gcc/fortran/st.c
@@ -173,7 +173,7 @@ gfc_free_statement (gfc_code *p)
break;
case EXEC_OMP_CRITICAL:
- gfc_free (CONST_CAST (p->ext.omp_name));
+ gfc_free (CONST_CAST (char *, p->ext.omp_name));
break;
case EXEC_OMP_FLUSH: