Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-l.b-one.net (mx-l.one.com [91.198.169.59])
	by mail9.b-one.net (Postfix) with ESMTP id 9802440013D
	for <info@awaresystems.be>; Wed, 13 May 2009 22:42:56 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-l.b-one.net (Postfix) with ESMTP id 3E0091D1B205
	for <info@awaresystems.be>; Wed, 13 May 2009 22:42:54 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 37C311D2014F9;
	Wed, 13 May 2009 15:42:11 -0500 (EST)
Received: from mail.sidefx.com (mail.sidefx.com [38.99.137.163])
	by lists.maptools.org (Postfix) with ESMTP id 8523D1D1F4676
	for <tiff@lists.maptools.org>; Wed, 13 May 2009 15:40:04 -0500 (EST)
Message-ID: <4A0B301E.6030406@sidefx.com>
Date: Wed, 13 May 2009 16:39:58 -0400
From: Edward Lam <edward@sidefx.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: tiff@lists.maptools.org
References: <5C764B83577CD3499EBF69EFE8A7DB3706222FCC@s0141187.miamidade.gov>	<197AADA1-6DE6-4F86-85B9-A53A716729F8@telegraphics.com.au>
	<4A0B0A61.9040102@sidefx.com>
In-Reply-To: <4A0B0A61.9040102@sidefx.com>
Subject: [Tiff] [ 64-bit warning in tif_pixarlog.c
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

Hi,

When I compile libtiff from CVS HEAD using MSVC on 64-bit Windows, I get
this warning in tif_pixarlog.c:

tif_pixarlog.c(1146) : warning C4267: '=' : conversion from 'size_t' to 
'uInt', possible loss of data

Given that it seems that someone else had also added an explicit cast to 
uInt when assigning to avail_in in PixarLogPreDecode(), I think it's 
safe to add an explicit cast at line 1146 as well?

Regards,
-Edward
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
