From c725f356898abc41026c7c2ec6e4cb3bf22035a6 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 16 Aug 2022 18:40:20 -0700 Subject: [PATCH] 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. --- wiretap/ascend-int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiretap/ascend-int.h b/wiretap/ascend-int.h index 0db714d93d..6c5760ff22 100644 --- a/wiretap/ascend-int.h +++ b/wiretap/ascend-int.h @@ -40,7 +40,7 @@ typedef struct { guint8 *pkt_data; gboolean saw_timestamp; - guint32 timestamp; + time_t timestamp; gint64 first_hexbyte; guint32 wirelen;