From 1dc118560d7d2fa76d34b65933dcbb0bbb61ce10 Mon Sep 17 00:00:00 2001 From: Joris Van Damme Date: Wed, 11 Apr 2007 14:28:58 +0000 Subject: BigTIFF upgrade in progress - widespread temp mess - does not compile now --- libtiff/tif_zip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libtiff/tif_zip.c') diff --git a/libtiff/tif_zip.c b/libtiff/tif_zip.c index ee163adf..ac505b9f 100644 --- a/libtiff/tif_zip.c +++ b/libtiff/tif_zip.c @@ -1,4 +1,4 @@ -/* $Id: tif_zip.c,v 1.16 2007-04-11 02:41:22 joris Exp $ */ +/* $Id: tif_zip.c,v 1.17 2007-04-11 14:28:59 joris Exp $ */ /* * Copyright (c) 1995-1997 Sam Leffler @@ -267,7 +267,7 @@ ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) tif->tif_rawcc = tif->tif_rawdatasize; TIFFFlushData1(tif); sp->stream.next_out = tif->tif_rawdata; - sp->stream.avail_out = (uInt) tif->tif_rawdatasize; + sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made already in ZIPPreEncode */ } } while (sp->stream.avail_in > 0); return (1); @@ -295,7 +295,7 @@ ZIPPostEncode(TIFF* tif) tif->tif_rawcc = tif->tif_rawdatasize - sp->stream.avail_out; TIFFFlushData1(tif); sp->stream.next_out = tif->tif_rawdata; - sp->stream.avail_out = (uInt) tif->tif_rawdatasize; + sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made already in ZIPPreEncode */ } break; default: -- cgit v1.2.1