diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-09-03 08:19:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-09-03 08:19:12 +0000 |
commit | ab5d4fcca0d1b61c86efbce13a91238e964d7758 (patch) | |
tree | e9b577e0bd08662a0d0083f5074bdf7307465805 /packet-snmp.c | |
parent | 24ddb0198b9528ade69d7668e7d2189f15df622b (diff) |
Squelch some compiler warnings.
svn path=/trunk/; revision=3899
Diffstat (limited to 'packet-snmp.c')
-rw-r--r-- | packet-snmp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-snmp.c b/packet-snmp.c index 9452c5e683..40f6ecd894 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -8,7 +8,7 @@ * * See RFCs 1905, 1906, 1909, and 1910 for SNMPv2u. * - * $Id: packet-snmp.c,v 1.69 2001/06/18 02:17:52 guy Exp $ + * $Id: packet-snmp.c,v 1.70 2001/09/03 08:19:12 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -580,7 +580,8 @@ format_oid(subid_t *oid, guint oid_length) { char *result; int result_len; - int len, i; + int len; + unsigned int i; char *buf; result_len = oid_length * 22; @@ -726,7 +727,7 @@ snmp_variable_decode(proto_tree *snmp_tree, subid_t *variable_oid, long value; #endif #endif /* HAVE_SPRINT_VALUE */ - int i; + unsigned int i; gchar *buf; int len; |