No need for cast

This commit is contained in:
Shahram Najm 2020-02-11 15:46:34 +00:00
parent b9ea2a2eef
commit f7c5a29718
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ static int next(grib_iterator* i, double* lat, double* lon, double* val)
{
grib_iterator_gaussian_reduced* self = (grib_iterator_gaussian_reduced*)i;
if ((long)i->e >= (long)(i->nv - 1))
if (i->e >= (long)(i->nv - 1))
return 0;
i->e++;