aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-03-18 23:38:12 -0700
committerGuy Harris <guy@alum.mit.edu>2015-03-19 06:38:44 +0000
commitda3e4f92d521528369520bdb4593cc591732a27d (patch)
tree72718d452a4e24bf1c5f239eaac271027f95d287 /capture_opts.h
parentbaa83912e3ba3c5146342eb7e1e30f56b462587f (diff)
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 <guy@alum.mit.edu>
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h2
1 files changed, 1 insertions, 1 deletions
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;