http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=26242
User: morriss
Date: 2008/09/21 07:04 AM
Log:
Declare ts_sec as a time_t because that's how it's used; this avoids a warning
about how dereferencing a type-punned pointer will break strict-aliasing rules
when calling localtime().
Make ts_sec in text2pcap's definition of a PCAP record header unsigned to match
that in libpcap.h .
Cast the time_t into guint32 as necessary.
Directory: /trunk/
Changes Path Action
+8 -8 text2pcap.c Modified