Wireshark-dev: Re: [Wireshark-dev] Sharkd warnings when built with VisualStudio 2015 64bit
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 1 Feb 2017 10:22:07 -0800
On Feb 1, 2017, at 8:03 AM, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:
 
>          C:\Development\wireshark\sharkd_daemon.c(167): warning C4244: 'return': conversion from 'SOCKET' to 'int', possible loss of data [C:\Development\wsbuild-gpl\sharkd.vcxproj]
>          C:\Development\wireshark\sharkd_daemon.c(245): warning C4244: '=': conversion from 'SOCKET' to 'int', possible loss of data [C:\Development\wsbuild-gpl\sharkd.vcxproj]
>          C:\Development\wireshark\sharkd_daemon.c(276): warning C4312: 'type cast': conversion from 'int' to 'HANDLE' of greater size [C:\Development\wsbuild-gpl\sharkd.vcxproj]
>          C:\Development\wireshark\sharkd_daemon.c(277): warning C4312: 'type cast': conversion from 'int' to 'HANDLE' of greater size [C:\Development\wsbuild-gpl\sharkd.vcxproj]
>          C:\Development\wireshark\sharkd_daemon.c(282): warning C4090: 'function': different 'const' qualifiers [C:\Development\wsbuild-gpl\sharkd.vcxproj]

c46ea01374d2c1d4ddb1568936244c8bc5888300 should fix some of those.