diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-13 00:55:58 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-13 00:55:58 +0000 |
commit | 0f480c2f4a00135c5acaa1250956a48fa328fdd7 (patch) | |
tree | 7296d508f19728911cce7937d426784768575b2e /wiretap/netmon.c | |
parent | 90f6a15b54e4030ca5d5624e88f00b0d2ea79aed (diff) |
From Joerg Mayer:
* gcc 3.0 warning fixes:
- text2pcap.c: The number of characters to scan should probably not be 0
- wiretap/csids.c: using preincrement on a variable used on both
sides of an assignment might be undefined by the C99(?) standard
* turn on additional warnings for epan and wiretap too
- epan/configure.in
- wiretap/configure.in
* Fix some warnings (missing includes, signed/unsigned, missing
initializers) found by turning on the warnings
- all other files :-)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3709 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/netmon.c')
-rw-r--r-- | wiretap/netmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/netmon.c b/wiretap/netmon.c index f0f266f315..a0b489a71f 100644 --- a/wiretap/netmon.c +++ b/wiretap/netmon.c @@ -1,6 +1,6 @@ /* netmon.c * - * $Id: netmon.c,v 1.37 2001/03/10 06:33:57 guy Exp $ + * $Id: netmon.c,v 1.38 2001/07/13 00:55:58 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -126,7 +126,7 @@ int netmon_open(wtap *wth, int *err) int frame_table_size; guint32 *frame_table; #ifdef WORDS_BIGENDIAN - int i; + unsigned int i; #endif /* Read in the string that should be at the start of a Network |