ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ra_tiff.c
(Generate patch)

Comparing ray/src/px/ra_tiff.c (file contents):
Revision 2.13 by gregl, Wed Aug 27 11:10:45 1997 UTC vs.
Revision 2.14 by gregl, Fri Aug 29 15:35:28 1997 UTC

# Line 579 | Line 579 | uint32 y;
579                  if (TIFFReadScanline(cvts.tif, cvts.t.p, y, 0) < 0)
580                          goto readerr;
581                  if (TIFFReadScanline(cvts.tif,
582 <                                (tidata_t)(cvts.t.bp + cvts.xmax), y, 1) < 0)
582 >                                (tdata_t)(cvts.t.bp + cvts.xmax), y, 1) < 0)
583                          goto readerr;
584                  if (TIFFReadScanline(cvts.tif,
585 <                                (tidata_t)(cvts.t.bp + 2*cvts.xmax), y, 2) < 0)
585 >                                (tdata_t)(cvts.t.bp + 2*cvts.xmax), y, 2) < 0)
586                          goto readerr;
587                  for (x = cvts.xmax; x--; ) {
588                          cvts.r.colrs[x][RED] = cvts.t.bp[x];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines