Wireshark-dev: [Wireshark-dev] Wireshark 3.0.1 build warning on Windows

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxx>
Date: Wed, 10 Apr 2019 19:56:08 +0000
I noticed this warning when compiling Wireshark 3.0.0 too but forgot to report it earlier.  Is anyone else seeing this warning?  I don’t see this warning on any of the builds with the x86 buildbot: https://buildbot.wireshark.org/wireshark-master/builders/Windows%20Server%202016%20x86
 
Note that I only get this warning when compiling for 32-bit on a 64-bit Windows host:
 
       (ClCompile target) ->
         d:\wireshark\src\3.0.1\sharkd_session.c(3978): warning C4244: 'functio
       n': conversion from 'gint64' to 'size_t', possible loss of data [D:\wire
       shark\builds\win32\3.0.1\sharkd.vcxproj]
 
    1 Warning(s)
 
It is a custom build, but I haven’t made any changes to sharkd_session.c.
 
Version 3.0.1_IGT_1.0 (Git Rev Unknown from unknown)
Copyright 1998-2019 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors. License GPLv2+: GNU GPL version 2 or later <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (32-bit) with Qt 5.12.1, with WinPcap SDK (WpdPack) 4.1.2, with GLib 2.52.2, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.14.0, with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.14.0, with LZ4, with Snappy, with libxml2 2.9.9, with QtMultimedia, with AirPcap, with SBC, with SpanDSP, with bcg729.
Running on 64-bit Windows 10 (1809), build 17763, with Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz (with SSE4.2), with 16225 MB of physical memory, with locale English_United States.1252, with libpcap version 1.9.0 (packet.dll version 0.992), with GnuTLS 3.6.3, with Gcrypt 1.8.3, with AirPcap 4.1.0 build 1622, binary plugins supported (17 loaded). Built using Microsoft Visual Studio 2017 (VC++ 14.15, build 26730).
 
Thanks.
- Chris
 
 
 
 
 
 
 
 
 
 
 
CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.