https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5972
--- Comment #11 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2011-06-02 08:07:39 PDT ---
Hi,
CheckAPI turns up these errors: ( see tools CheckAPI why).
Error: Found prohibited APIs in packet-csg.c: sprintf,strcpy,strcat
Error: Found deprecated APIs in packet-csg.c: dissector_add
The .h file should be integrated in the .c file as no other dissector needs to
include it.
Compiling (a modified version line numbers are off) gives:
packet-csg.c(1908) : error C2220: warning treated as error - no 'object' file
ge
nerated
packet-csg.c(1908) : warning C4244: '=' : conversion from 'time_t' to 'unsigned
int', possible loss of data
packet-csg.c(1909) : warning C4244: '=' : conversion from 'time_t' to 'unsigned
int', possible loss of data
packet-csg.c(1910) : warning C4244: '=' : conversion from 'time_t' to 'unsigned
int', possible loss of data
packet-csg.c(1934) : warning C4244: '=' : conversion from 'time_t' to 'unsigned
int', possible loss of data
packet-csg.c(1935) : warning C4244: '=' : conversion from 'time_t' to 'unsigned
int', possible loss of data
packet-csg.c(1936) : warning C4244: '=' : conversion from 'time_t' to 'unsigned
int', possible loss of data
Regards
Anders
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.