summaryrefslogtreecommitdiff
path: root/libtiff/tif_pixarlog.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2015-11-18 20:35:07 +0000
committerEven Rouault <even.rouault@spatialys.com>2015-11-18 20:35:07 +0000
commit87f02eaced68e1fd5ac8974dde2f52a156cb66c7 (patch)
tree9b39dfceb15d49e0addaa364de78baf48876d677 /libtiff/tif_pixarlog.c
parent7cf3e7efeb428f1ac9f21caa686d8ed9320994e1 (diff)
downloadlibtiff-git-87f02eaced68e1fd5ac8974dde2f52a156cb66c7.tar.gz
* libtiff/*.c: fix clang -Wshorten-64-to-32 warnings
Diffstat (limited to 'libtiff/tif_pixarlog.c')
-rw-r--r--libtiff/tif_pixarlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtiff/tif_pixarlog.c b/libtiff/tif_pixarlog.c
index 044c4115..2117a181 100644
--- a/libtiff/tif_pixarlog.c
+++ b/libtiff/tif_pixarlog.c
@@ -1,4 +1,4 @@
-/* $Id: tif_pixarlog.c,v 1.39 2012-12-10 17:27:13 tgl Exp $ */
+/* $Id: tif_pixarlog.c,v 1.40 2015-11-18 20:35:10 erouault Exp $ */
/*
* Copyright (c) 1996-1997 Sam Leffler
@@ -922,7 +922,7 @@ PixarLogPreEncode(TIFF* tif, uint16 s)
we need to simplify this code to reflect a ZLib that is likely updated
to deal with 8byte memory sizes, though this code will respond
apropriately even before we simplify it */
- sp->stream.avail_out = tif->tif_rawdatasize;
+ sp->stream.avail_out = (uInt)tif->tif_rawdatasize;
if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize)
{
TIFFErrorExt(tif->tif_clientdata, module, "ZLib cannot deal with buffers this size");