From da3e4f92d521528369520bdb4593cc591732a27d Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 18 Mar 2015 23:38:12 -0700 Subject: Make the snapshot-length member of interface_t an int. That matches what it is in other structures, and eliminates a compiler warning. While we're at it, remove an empty if statement revealed by that change. Change-Id: I5e8c8f92fdb3567e75800c729443737032a1bcc7 Reviewed-on: https://code.wireshark.org/review/7752 Reviewed-by: Guy Harris --- capture_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capture_opts.h') diff --git a/capture_opts.h b/capture_opts.h index cfbe53360e..5eb928e400 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -177,7 +177,7 @@ typedef struct interface_tag { gint active_dlt; gboolean pmode; gboolean has_snaplen; - guint snaplen; + int snaplen; gboolean local; #if defined(_WIN32) || defined(HAVE_PCAP_CREATE) gint buffer; -- cgit v1.2.1