From 2495d546e80792ebc7097c4ec208f7ce850707a9 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Sat, 27 Nov 1999 20:01:23 +0000 Subject: [PATCH] Avoid type casting warning. --- libtiff/tif_compress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtiff/tif_compress.c b/libtiff/tif_compress.c index 0dd33dea..da19d4ee 100644 --- a/libtiff/tif_compress.c +++ b/libtiff/tif_compress.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_compress.c,v 1.1 1999-07-27 21:50:27 mike Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_compress.c,v 1.2 1999-11-27 20:01:23 warmerda Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -147,7 +147,7 @@ _TIFFSetDefaultCompressionState(TIFF* tif) int TIFFSetCompressionScheme(TIFF* tif, int scheme) { - const TIFFCodec *c = TIFFFindCODEC(scheme); + const TIFFCodec *c = TIFFFindCODEC((uint16) scheme); _TIFFSetDefaultCompressionState(tif); /*