diff --git a/fortran/grib_fortran.c b/fortran/grib_fortran.c index 412de254f..07dc4a9e6 100644 --- a/fortran/grib_fortran.c +++ b/fortran/grib_fortran.c @@ -98,7 +98,7 @@ struct l_grib_file { FILE* f; char* buffer; int id; - int mode; /* enum FileMode */ + FileMode mode; l_grib_file* next; };