aboutsummaryrefslogtreecommitdiffstats
path: root/packet-snmp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-05-09 17:45:02 +0000
committerGuy Harris <guy@alum.mit.edu>2000-05-09 17:45:02 +0000
commit914f14223b4c8ef1b58d4783b670d6358aab5801 (patch)
treec5eb66f997ba9d06389b2c1fccce47c68372cf5c /packet-snmp.c
parent4cbec302cd63012639644216717ce5279ca3d2a8 (diff)
Fix from Ron Flory to suppress a warning GCC issues on at least some
platforms. svn path=/trunk/; revision=1930
Diffstat (limited to 'packet-snmp.c')
-rw-r--r--packet-snmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-snmp.c b/packet-snmp.c
index b72e42426e..75c1536988 100644
--- a/packet-snmp.c
+++ b/packet-snmp.c
@@ -2,7 +2,7 @@
* Routines for SNMP (simple network management protocol)
* D.Jorand (c) 1998
*
- * $Id: packet-snmp.c,v 1.28 2000/04/13 18:18:48 gram Exp $
+ * $Id: packet-snmp.c,v 1.29 2000/05/09 17:45:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -687,8 +687,8 @@ snmp_variable_decode(proto_tree *snmp_tree, subid_t *variable_oid,
vb_display_string);
} else {
proto_tree_add_text(snmp_tree, offset, length,
- "Value: %s: %.*s", vb_type_name, vb_length,
- vb_octet_string);
+ "Value: %s: %.*s", vb_type_name,
+ (int)vb_length, vb_octet_string);
}
#endif
}