Wireshark mailing list archives

Re: Sharkd warnings when built with VisualStudio 2015 64bit


From: Guy Harris <guy () alum mit edu>
Date: Wed, 1 Feb 2017 10:22:07 -0800

On Feb 1, 2017, at 8:03 AM, Anders Broman <anders.broman () ericsson com> 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.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: