diff options
author | Frank Warmerdam <warmerdam@pobox.com> | 2000-01-28 20:59:06 +0000 |
---|---|---|
committer | Frank Warmerdam <warmerdam@pobox.com> | 2000-01-28 20:59:06 +0000 |
commit | 11242afaf28b1c4c909abf0f95cc15d73c6ef16f (patch) | |
tree | 5e941eb0ab7355f379d7af59bf8c7ecca6b30c75 /libtiff/tif_write.c | |
parent | 0ee7c405e766bbd865249064375558f6d8d32ef4 (diff) | |
download | libtiff-git-11242afaf28b1c4c909abf0f95cc15d73c6ef16f.tar.gz |
clarified some toff_t/tsize_t casting problems
Diffstat (limited to 'libtiff/tif_write.c')
-rw-r--r-- | libtiff/tif_write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtiff/tif_write.c b/libtiff/tif_write.c index 9e64f8c3..f7e5a69b 100644 --- a/libtiff/tif_write.c +++ b/libtiff/tif_write.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_write.c,v 1.3 2000-01-28 15:10:34 warmerda Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_write.c,v 1.4 2000-01-28 21:05:16 warmerda Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -383,7 +383,7 @@ TIFFWriteEncodedTile(TIFF* tif, ttile_t tile, tdata_t data, tsize_t cc) * done so that callers can pass in some large number * (e.g. -1) and have the tile size used instead. */ - if ((uint32) cc > tif->tif_tilesize) + if ( cc > tif->tif_tilesize) cc = tif->tif_tilesize; if (!(*tif->tif_encodetile)(tif, (tidata_t) data, cc, sample)) return ((tsize_t) 0); |