forked from osmocom/wireshark
ascend: make the time stamp in the parser state a time_t.
It's set from the result of mktime(), which returns a time_t, and it's assigned to a time_t that's ultimately assigned to the time_t secs member of an nstime, so no reason for it to be a guint32. This should squelch Coverity CID 1509354.
This commit is contained in:
parent
d48808dc76
commit
c725f35689
|
@ -40,7 +40,7 @@ typedef struct {
|
|||
guint8 *pkt_data;
|
||||
|
||||
gboolean saw_timestamp;
|
||||
guint32 timestamp;
|
||||
time_t timestamp;
|
||||
|
||||
gint64 first_hexbyte;
|
||||
guint32 wirelen;
|
||||
|
|
Loading…
Reference in New Issue