diff --git a/libtiff/tif_strip.c b/libtiff/tif_strip.c index 4c32a195..2a13a4b3 100644 --- a/libtiff/tif_strip.c +++ b/libtiff/tif_strip.c @@ -1,4 +1,4 @@ -/* $Id: tif_strip.c,v 1.6 2004-09-14 06:58:04 dron Exp $ */ +/* $Id: tif_strip.c,v 1.7 2004-09-22 13:49:08 dron Exp $ */ /* * Copyright (c) 1991-1997 Sam Leffler @@ -191,7 +191,7 @@ TIFFScanlineSize(TIFF* tif) scanline = td->td_bitspersample * td->td_imagewidth; if (td->td_planarconfig == PLANARCONFIG_CONTIG) scanline *= td->td_samplesperpixel; - return ((tsize_t) TIFFhowmany(scanline, 8)); + return ((tsize_t) TIFFhowmany8(scanline)); } /* @@ -209,10 +209,10 @@ TIFFRasterScanlineSize(TIFF* tif) scanline = td->td_bitspersample * td->td_imagewidth; if (td->td_planarconfig == PLANARCONFIG_CONTIG) { scanline *= td->td_samplesperpixel; - return ((tsize_t) TIFFhowmany(scanline, 8)); + return ((tsize_t) TIFFhowmany8(scanline)); } else return ((tsize_t) - TIFFhowmany(scanline, 8)*td->td_samplesperpixel); + TIFFhowmany8(scanline)*td->td_samplesperpixel); } /* vim: set ts=8 sts=8 sw=8 noet: */