I am working on NCEPLIBS-g2, a free software library from NOAA which allows meteorologists and climate scientists to access GRIB2 data.
I have a warning:
121 | allones = Z'FFFFFFFF'
| 1
Warning: Conversion from ‘INTEGER(16)’ to ‘INTEGER(4)’ at (1) [-Wconversion]
This comes from the following code:
integer(4) :: ire00, allones
allones = Z'FFFFFFFF'
Apparently the BOZ constant Z'FFFFFFFF' is being interpreted as an INTEGER(16).
How do I indicate that it is an INTEGER(4), and so silence this warning?