From 107666afa10b18d22841d6aeb77a1d9020c11d9a Mon Sep 17 00:00:00 2001 From: John Thacker Date: Mon, 8 Apr 2024 19:01:33 -0400 Subject: [PATCH] Fix type of queued_rescan_type This should be the same type as cf->redissection_queued, a rescan_type num. It probably happens to work as a gboolean, but probably wouldn't work with a C99 bool. --- file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.c b/file.c index 72705fa1b0..d4109f0914 100644 --- a/file.c +++ b/file.c @@ -1727,7 +1727,7 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item, gb gboolean add_to_packet_list = FALSE; gboolean compiled _U_; guint32 frames_count; - gboolean queued_rescan_type = RESCAN_NONE; + rescan_type queued_rescan_type = RESCAN_NONE; if (cf->state == FILE_CLOSED || cf->state == FILE_READ_PENDING) { return;