diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-09-21 14:04:41 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-09-21 14:04:41 +0000 |
commit | 76037635d3685249d21d9c1d331e4de81c364c47 (patch) | |
tree | b15973c4fb10f52b4dcb2124fbd78653fd845396 /asn1 | |
parent | 19e29e857e2b7f0917bf643dc366aaf74dfb995b (diff) |
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.
svn path=/trunk/; revision=26242
Diffstat (limited to 'asn1')
0 files changed, 0 insertions, 0 deletions