2010.06.17 22:10 "[Tiff] libtiff 4.0 compiler warning on x64 in tif_read.c", by Edward Lam

2010.06.17 22:10 "[Tiff] libtiff 4.0 compiler warning on x64 in tif_read.c", by Edward Lam

Hi,

On MSVC2005 64-bit, compiling CVS HEAD gives me:

tif_read.c(207): warning C4244: '=': conversion from 'tmsize_t' to 'int', possible loss of data

Looking at it, it seems to me that we want "read_ahead" to be tmsize_t instead of int? Similarly, I think TIFFFillStripPartial() should take an tmsize_t instead.

Regards,

-Edward