AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2009.05.11 14:58 "How to tell if an image file is a TIFF or PDF", by Miguel Navarro
2009.05.11 15:14 "Re: How to tell if an image file is a TIFF or PDF", by Toby Thain
2009.05.13 17:58 "64-bit warnings in tif_lzw", by Edward Lam
2009.05.13 20:39 "[ 64-bit warning in tif_pixarlog.c", by Edward Lam

2009.05.13 20:39 "[ 64-bit warning in tif_pixarlog.c", by Edward Lam

Hi,

When I compile libtiff from CVS HEAD using MSVC on 64-bit Windows, I get
this warning in tif_pixarlog.c:

tif_pixarlog.c(1146) : warning C4267: '=' : conversion from 'size_t' to 
'uInt', possible loss of data

Given that it seems that someone else had also added an explicit cast to 
uInt when assigning to avail_in in PixarLogPreDecode(), I think it's 
safe to add an explicit cast at line 1146 as well?

Regards,
-Edward