
Thread
2013.12.17 14:39 "Re: [Tiff] Checking the TIFFWriteScanline return value", by Bob Friesenhahn
Hello list,
four files in libtiff's directory 'test' seem to have the same error:
The snippet
if (!TIFFWriteScanline(tif, buf, 0, 0) < 0)
should either be
if (!TIFFWriteScanline(tif, buf, 0, 0))
or (maybe preferably, since the return values are int: -1 or 1)
if (TIFFWriteScanline(tif, buf, 0, 0) < 0)
Thanks for reporting this. The good news is that one of the test programs did get it right.
I will fix this.
Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/