[gdal-dev] Grib2 Question
Even Rouault
even.rouault at spatialys.com
Tue Nov 7 15:43:01 PST 2017
On mardi 7 novembre 2017 15:34:15 CET Kurt Schwehr wrote:
> Why not something like this and just let me pick a small number?
>
> #ifdef GRIB_MAX_ALLOC
> const int knMaxAllloc = GRIB_MAX_ALLOC;
> #else
> const int knMaxAlloc = some massive number;
> #endif
>
Yes, looks reasonable. I guess "some massive number" should probably be
INT_MAX if we don't have a better way to do sanity checking right now.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171108/61da438d/attachment.html>
More information about the gdal-dev
mailing list