2003.07.26 00:42 "[Tiff] some patches", by James Strother

2003.07.26 00:42 "[Tiff] some patches", by James Strother

I recently compiled the library on a Sun box and got a couple very minor errors/warnings that I went ahead and fixed. The gzipped patch file is attached. They were:

  1. libtiff/tif_print.c is dos-formatted
  2. libtiff/tif_open.c implicitly casts hex to long**
  3. tools/tiffcp.c assigns -1 to uint16 without cast

** I don't know if this is an actual error, but it causes the compiler to complain. I'm not sure why.

James Strother
Research Associate
UC-Berkeley