aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 1187050ac9..7933707771 100644
--- a/tshark.c
+++ b/tshark.c
@@ -703,7 +703,7 @@ real_main(int argc, char *argv[])
gchar *err_str;
#else
gboolean capture_option_specified = FALSE;
- int max_packet_count = 0;
+ volatile int max_packet_count = 0;
#endif
gboolean quiet = FALSE;
#ifdef PCAP_NG_DEFAULT