diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-03-18 23:38:12 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-03-19 06:38:44 +0000 |
commit | da3e4f92d521528369520bdb4593cc591732a27d (patch) | |
tree | 72718d452a4e24bf1c5f239eaac271027f95d287 /capture_opts.h | |
parent | baa83912e3ba3c5146342eb7e1e30f56b462587f (diff) | |
download | wireshark-da3e4f92d521528369520bdb4593cc591732a27d.tar.gz wireshark-da3e4f92d521528369520bdb4593cc591732a27d.tar.bz2 wireshark-da3e4f92d521528369520bdb4593cc591732a27d.zip |
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.h | 2 |
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; |