aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-06-18 01:49:17 +0000
committerGuy Harris <guy@alum.mit.edu>2001-06-18 01:49:17 +0000
commitb9222c0011e362d2ba9895af4eaef04a3d72c8c6 (patch)
tree9a0b0bdf0483f319fc5eb7a7a8af6a6d8c5bd2d3 /capture.c
parentc8554ff99aa8c573adde8afd44edbbd1806c47df (diff)
Various signed vs. unsigned fixes, from Joerg Mayer.
svn path=/trunk/; revision=3560
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/capture.c b/capture.c
index 85b8aada0e..80e72eca39 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.152 2001/06/15 01:36:46 guy Exp $
+ * $Id: capture.c,v 1.153 2001/06/18 01:49:16 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1208,7 +1208,8 @@ capture(gboolean *stats_known, struct pcap_stat *stats)
bpf_u_int32 netnum, netmask;
struct bpf_program fcode;
time_t upd_time, cur_time;
- int err, inpkts, i;
+ int err, inpkts;
+ unsigned int i;
static const char capstart_msg = SP_CAPSTART;
char errmsg[4096+1];
#ifndef _WIN32