Commit fd105dac authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix casting of function result.

parent 62a8db07
......@@ -1761,7 +1761,7 @@ int gribapiDefDateTimeRel(int editionNumber, grib_handle *gh, int rdate, int rti
int factor = getTimeunitFactor(timeunit);
if ( !(int) fmod(days*86400.0 + secs, factor) )
if ( !(int)(fmod(days*86400.0 + secs, factor)))
{
int proDefTempNum = gribapiDefSteptype(editionNumber, gh, productDefinitionTemplate, typeOfGeneratingProcess, tsteptype, gcinit);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment