[Gdal-dev] VSIFSeekL() - making vsi_l_offset signed instead of
unsigned
Frank Warmerdam
warmerdam at pobox.com
Sat Apr 21 16:55:08 EDT 2007
Folks,
I have discovered that the vsi_l_offset type used for offsets arguments
to VSIFSeekL() are GUIntBig - an unsigned type, instead of a signed type
like size_t of the fseek() POSIX analog.
I would like to change vsi_l_offset in 1.5 to be of type GIntBig instead
so that constructions like:
if( VSIFSeekL( poGDS->fp, -1, SEEK_CUR ) != 0 )
will work properly. I have prepared a ticket on the issue, and I'm wondering
if there are any objections to my doing so.
http://trac.osgeo.org/gdal/ticket/1590
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list