Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx6.public.one.com ([10.246.18.26])
	by mail6.local.one.com (Dovecot) with LMTP id jUZkBWwrLVjYpgAAsyOMew
	for <filtered@awaresystems.be>; Thu, 17 Nov 2016 04:01:46 +0000
X-HalOne-ID: 8e776a02-ac7a-11e6-876e-b82a72d854f0
Received: from mail-it0-f53.google.com (unknown [209.85.214.53])
	by mx6.public.one.com (Halon Mail Gateway) with ESMTPS
	for <filtered@awaresystems.be>; Thu, 17 Nov 2016 04:01:45 +0000 (UTC)
Received: by mail-it0-f53.google.com with SMTP id y23so17504979itc.0
        for <filtered@awaresystems.be>; Wed, 16 Nov 2016 20:01:45 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :mime-version:from:date:message-id:to:subject:precedence:list-id
         :list-unsubscribe:list-archive:list-post:list-help:list-subscribe
         :mime-version:sender:errors-to;
        bh=GzCNtKprf7a/kfZYnMMXuR1AQ32kIKo+W14C05aEKSQ=;
        b=BBWJdsboTxV31bixV3zUgJ8z4H9GAgR9eZiNKOrRuz82dd+ucEQRRDkzj6FDzU3Pef
         U3F4GW71eeAxTsAuPABxoBNtZgiFq/PRC7sKJerPqO0DmCg9vls83SX29A9FEhYEysxa
         vt1pCFVPQ4qJ3PQI3KTCI9rejZQRMSFGPg8FTMMybU3bD1vmK9NngYlgdAgzav/MilEB
         DgEW743cVbuW/ML0WuXVpYoQpkkJPsbs6Ktk73aaXfe4YLQA2I2BlyK6/zAljhuG+Hdx
         EYM8KUgz9O5hG/vjpbMZWg1s1dUmlYHVaDelfHZLKstI9+/0mrNiKc0C5RbBmMt1HEQG
         Fs3Q==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;       dmarc=fail (p=NONE dis=NONE) header.from=gmail.com
X-Gm-Message-State: AKaTC026O+c6xxqHSCLZBA/7AU9yFN7uUXFDjmtJlh9Mjt5j4ZtD+6NRAxg5zhkamsmPYd6ypNB2nCI62mTpZJgstdF1kXQ=
X-Received: by 10.202.68.67 with SMTP id r64mr368692oia.59.1479355303683;
        Wed, 16 Nov 2016 20:01:43 -0800 (PST)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.202.192.135 with SMTP id q129csp69611oif;
        Wed, 16 Nov 2016 20:01:42 -0800 (PST)
X-Received: by 10.28.218.213 with SMTP id r204mr1635603wmg.69.1479355302816;
        Wed, 16 Nov 2016 20:01:42 -0800 (PST)
Return-Path: <tiff-bounces@lists.maptools.org>
Received: from lists.maptools.org (ks365428.kimsufi.com. [94.23.4.142])
        by mx.google.com with ESMTP id ge18si881452wjc.226.2016.11.16.20.01.41;
        Wed, 16 Nov 2016 20:01:42 -0800 (PST)
Received-SPF: neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=94.23.4.142;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;
       dmarc=fail (p=NONE dis=NONE) header.from=gmail.com
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id B2D4135C04A;
	Wed, 16 Nov 2016 23:00:52 -0500 (EST)
Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com
	[209.85.216.169])
	by lists.maptools.org (Postfix) with ESMTPS id 4A3A635C047
	for <tiff@lists.maptools.org>; Wed, 16 Nov 2016 22:33:30 -0500 (EST)
Received: by mail-qt0-f169.google.com with SMTP id w33so121609655qtc.3
	for <tiff@lists.maptools.org>; Wed, 16 Nov 2016 19:33:30 -0800 (PST)
X-Received: by 10.237.36.170 with SMTP id t39mr521804qtc.115.1479353608973;
	Wed, 16 Nov 2016 19:33:28 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.39.180 with HTTP; Wed, 16 Nov 2016 19:33:28 -0800 (PST)
From: Aaron Boxer <boxerab@gmail.com>
Date: Wed, 16 Nov 2016 22:33:28 -0500
Message-ID: <CAK8GPyDHaGBiSgjL2u07aAjjrMOO3C7ZG9a9=qpPfXeB3srDQg@mail.gmail.com>
To: TIFF mailing list <tiff@lists.maptools.org>
Subject: [Tiff] Visual Studio Warnings
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: multipart/mixed; boundary="===============1460304577=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============1460304577==
Content-Type: multipart/alternative; boundary=001a114035545c326e054176da8d

--001a114035545c326e054176da8d
Content-Type: text/plain; charset=UTF-8

FYI:

libtiff\tif_win32.c(242): warning C4312: 'type cast': conversion from 'int'
to 'thandle_t' of greater size
\libtiff\tif_win32.c(287): warning C4311: 'type cast': pointer truncation
from 'thandle_t' to 'int'
\libtiff\tif_win32.c(342): warning C4311: 'type cast': pointer truncation
from 'thandle_t' to 'int'
\libtiff\tif_dirinfo.c(724): warning C6031: Return value ignored:
'snprintf'.
\libtiff\tif_getimage.c(1443): warning C6297: Arithmetic overflow:  32-bit
value is shifted, then cast to 64-bit value.  Results might not be an
expected value.
\libtiff\tif_getimage.c(1514): warning C6297: Arithmetic overflow:  32-bit
value is shifted, then cast to 64-bit value.  Results might not be an
expected value.
\libtiff\tif_getimage.c(1645): warning C6297: Arithmetic overflow:  32-bit
value is shifted, then cast to 64-bit value.  Results might not be an
expected value.
\libtiff\tif_getimage.c(1711): warning C6297: Arithmetic overflow:  32-bit
value is shifted, then cast to 64-bit value.  Results might not be an
expected value.

The first three already have a FIXME comment.

I doubt these cause actual bugs, but always to be warning-free.

Cheers,
Aaron

--001a114035545c326e054176da8d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">FYI:<br><div><br>libtiff\tif_win32.c(242): warning C4312: =
&#39;type cast&#39;: conversion from &#39;int&#39; to &#39;thandle_t&#39; o=
f greater size<br>\libtiff\tif_win32.c(287): warning C4311: &#39;type cast&=
#39;: pointer truncation from &#39;thandle_t&#39; to &#39;int&#39;<br>\libt=
iff\tif_win32.c(342): warning C4311: &#39;type cast&#39;: pointer truncatio=
n from &#39;thandle_t&#39; to &#39;int&#39;<br>\libtiff\tif_dirinfo.c(724):=
 warning C6031: Return value ignored: &#39;snprintf&#39;.<br>\libtiff\tif_g=
etimage.c(1443): warning C6297: Arithmetic overflow:=C2=A0 32-bit value is =
shifted, then cast to 64-bit value.=C2=A0 Results might not be an expected =
value.<br>\libtiff\tif_getimage.c(1514): warning C6297: Arithmetic overflow=
:=C2=A0 32-bit value is shifted, then cast to 64-bit value.=C2=A0 Results m=
ight not be an expected value.<br>\libtiff\tif_getimage.c(1645): warning C6=
297: Arithmetic overflow:=C2=A0 32-bit value is shifted, then cast to 64-bi=
t value.=C2=A0 Results might not be an expected value.<br>\libtiff\tif_geti=
mage.c(1711): warning C6297: Arithmetic overflow:=C2=A0 32-bit value is shi=
fted, then cast to 64-bit value.=C2=A0 Results might not be an expected val=
ue.<br><br></div><div>The first three already have a FIXME comment.<br><br>=
</div><div>I doubt these cause actual bugs, but always to be warning-free.<=
br></div><div><br></div><div>Cheers,<br></div><div>Aaron<br></div></div>

--001a114035545c326e054176da8d--

--===============1460304577==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============1460304577==--
