On mardi 22 mai 2018 08:41:35 CEST Martin Landa wrote:
> https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrsf_frmts/vfk/
vfkreader
> .cpp#L82

CPLStat() ultimately calls _wstat() on Windows. Looking at
https://docs.microsoft.com/en-gb/cpp/c-runtime-library/reference/stat-functions 
, it seems it can only deal with 32-bit file length

You could just replace your CPLStat() call with VSIStatL() (and use a 
VSIStatBufL 
structure) that will use a 64-bit ready Windows API underneath.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to