ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] Lot's of new MSVC warnings in packet-isakmp.c and packet-jxta.c,

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Thu, 17 Mar 2005 10:25:41 +0100
Hi List!

See the buildbot, if you don't have MSVC at hand:
http://buildbot.ethereal.com/

packet-isakmp.c
packet-isakmp.c(181) : warning C4305: 'initializing' : truncation from 'const int ' to 'char '
packet-isakmp.c(182) : warning C4305: 'initializing' : truncation from 'const int ' to 'char '
packet-isakmp.c(1699) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data
packet-jxta.c
packet-jxta.c(363) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(367) : warning C4244: '+=' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(407) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(407) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(416) : warning C4244: '+=' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(474) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(474) : warning C4244: 'function' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(489) : warning C4244: '+=' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(491) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data
packet-jxta.c(866) : warning C4090: 'function' : different 'const' qualifiers
packet-jxta.c(866) : warning C4022: 'g_free' : pointer mismatch for actual parameter 1
packet-jxta.c(407) : warning C4761: integral size mismatch in argument; conversion supplied
packet-jxta.c(407) : warning C4761: integral size mismatch in argument; conversion supplied
packet-jxta.c(474) : warning C4761: integral size mismatch in argument; conversion supplied
packet-jxta.c(474) : warning C4761: integral size mismatch in argument; conversion supplied


Regards, ULFL