ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Sharkd warnings when built with VisualStudio 2015 64bit

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Wed, 1 Feb 2017 16:03:40 +0000

Hi,

In case some is interested J

 

       "C:\Development\wsbuild-gpl\Wireshark.sln" (default target) (1) ->

       "C:\Development\wsbuild-gpl\sharkd.vcxproj.metaproj" (default target) (49) ->

       "C:\Development\wsbuild-gpl\sharkd.vcxproj" (default target) (153) ->

         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]

 

 

Regards

Anders