From 946c8505418a025bd8e17be8a70ac2effa1be071 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 17 Mar 2019 17:20:40 -0700 Subject: More constification, to squelch warnings. capture_input_drops() doesn't, and shouldn't, modify or free or... the interface name, so make the pointer to it a const pointer. Change-Id: Iafc5c5dd9939225b3aeb8a8e36c5bdeecc394e12 Reviewed-on: https://code.wireshark.org/review/32465 Reviewed-by: Guy Harris --- tshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tshark.c') diff --git a/tshark.c b/tshark.c index ae39a3d251..6947c45e99 100644 --- a/tshark.c +++ b/tshark.c @@ -2781,7 +2781,7 @@ report_counts_siginfo(int signum _U_) /* capture child detected any packet drops? */ void -capture_input_drops(capture_session *cap_session _U_, guint32 dropped, char* interface_name) +capture_input_drops(capture_session *cap_session _U_, guint32 dropped, const char* interface_name) { if (print_packet_counts) { /* We're printing packet counts to stderr. -- cgit v1.2.3