diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-06-18 01:49:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-06-18 01:49:17 +0000 |
commit | b9222c0011e362d2ba9895af4eaef04a3d72c8c6 (patch) | |
tree | 9a0b0bdf0483f319fc5eb7a7a8af6a6d8c5bd2d3 /capture.c | |
parent | c8554ff99aa8c573adde8afd44edbbd1806c47df (diff) | |
download | wireshark-b9222c0011e362d2ba9895af4eaef04a3d72c8c6.tar.gz wireshark-b9222c0011e362d2ba9895af4eaef04a3d72c8c6.tar.bz2 wireshark-b9222c0011e362d2ba9895af4eaef04a3d72c8c6.zip |
Various signed vs. unsigned fixes, from Joerg Mayer.
svn path=/trunk/; revision=3560
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |