summaryrefslogtreecommitdiff
path: root/libtiff/tif_pixarlog.c
diff options
context:
space:
mode:
authorJoris Van Damme <joris.at.lebbeke@skynet.be>2007-06-26 10:30:12 +0000
committerJoris Van Damme <joris.at.lebbeke@skynet.be>2007-06-26 10:30:12 +0000
commita2ce1c675c568e6d85014ed156a284f10083d5b8 (patch)
tree6c27c6244e455f5fd77e3ea52d665ecf35e954f4 /libtiff/tif_pixarlog.c
parent1988981be82753a9bf48511482e1226e1b785a79 (diff)
downloadlibtiff-git-a2ce1c675c568e6d85014ed156a284f10083d5b8.tar.gz
BigTIFF upgrade: misc little things, indentation and some compiler warnings workarounds
Diffstat (limited to 'libtiff/tif_pixarlog.c')
-rw-r--r--libtiff/tif_pixarlog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtiff/tif_pixarlog.c b/libtiff/tif_pixarlog.c
index 63e8d775..5b76b1ad 100644
--- a/libtiff/tif_pixarlog.c
+++ b/libtiff/tif_pixarlog.c
@@ -1,4 +1,4 @@
-/* $Id: tif_pixarlog.c,v 1.24 2007-06-23 01:06:08 joris Exp $ */
+/* $Id: tif_pixarlog.c,v 1.25 2007-06-26 10:30:13 joris Exp $ */
/*
* Copyright (c) 1996-1997 Sam Leffler
@@ -756,7 +756,7 @@ PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s)
to deal with 8byte memory sizes, though this code will respond
apropriately even before we simplify it */
sp->stream.avail_out = (uInt) (nsamples * sizeof(uint16));
- if ((tmsize_t)sp->stream.avail_out != nsamples * sizeof(uint16))
+ if (sp->stream.avail_out != nsamples * sizeof(uint16))
{
TIFFErrorExt(tif->tif_clientdata, module, "ZLib cannot deal with buffers this size");
return (0);
@@ -1143,7 +1143,7 @@ PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
to deal with 8byte memory sizes, though this code will respond
apropriately even before we simplify it */
sp->stream.avail_in = n * sizeof(uint16);
- if ((tmsize_t)sp->stream.avail_in != n * sizeof(uint16))
+ if (sp->stream.avail_in != n * sizeof(uint16))
{
TIFFErrorExt(tif->tif_clientdata, module, "ZLib cannot deal with buffers this size");
return (0);