| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2008.08.26 13:14 "Re: creating sparse files......", by Edward LamBTW, the following below doesn't compile on my 64-bit gcc 4.1.1 since
tdata_t is a (void *). I suspect the code was tested under a fairly old
version of libtiff.
Rogier Wolff wrote:
> static int isallzero (tdata_t buf, tsize_t size)
> {
> int i;
> for (i=0;i<size;i++)
> if (buf[i]) return 0;
> return 1;
> }
Cheers,
-Edward
|
|||||||