aboutsummaryrefslogtreecommitdiffstats
path: root/packet-snmp.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-08-29 04:15:31 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-08-29 04:15:31 +0000
commitaf5f43fb706233ab6e41e9ab83148d5951471c45 (patch)
tree04994a84c2f5686135b70781b1b22a7ba5c8f5d6 /packet-snmp.c
parent10adb4dbee68f56d84113be57d69552ac2ec3491 (diff)
downloadwireshark-af5f43fb706233ab6e41e9ab83148d5951471c45.tar.gz
wireshark-af5f43fb706233ab6e41e9ab83148d5951471c45.tar.bz2
wireshark-af5f43fb706233ab6e41e9ab83148d5951471c45.zip
Fix some compilation warnings.
svn path=/trunk/; revision=609
Diffstat (limited to 'packet-snmp.c')
-rw-r--r--packet-snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-snmp.c b/packet-snmp.c
index 5ae500d9df..4c3729584b 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.7 1999/08/20 21:26:37 guy Exp $
+ * $Id: packet-snmp.c,v 1.8 1999/08/29 04:15:31 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -355,7 +355,7 @@ dissect_snmp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
/* authenticates message */
length=fd->pkt_len-offset;
header_length=length;
- data = snmp_comstr_parse(&pd[offset], &length, community, &community_length,&version);
+ data = snmp_comstr_parse(&pd[offset], &length, community, &community_length, (int*)&version);
if(NULL == data) {
dissect_snmp_error(pd, offset, fd, tree,
"Couldn't parse authentication");