On 29/11/10 14:57, Even Rouault wrote:
David,

yes, on most 64bit platforms, sizeof(long long)=sizeof(long)=8. Except on Win64,
where sizeof(long) still = 4 ( see
http://en.wikipedia.org/wiki/64-bit#Specific_C-language_data_models ). And of
course on 32bit platforms, sizeof(long)=4. So the need for an explicit 64bit API
is needed.

And, that's why name GBigInt is meaningless.
In order to avoid any ambiguities, GDAL/OGR API should make
use of exact size types *only*, it is [u]int32_t and [u]int64_t,
in its public API.

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to