From 0cfdbc3676c49f5d0415653094453ed378085c86 Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Tue, 7 Mar 2006 04:33:46 +0000 Subject: - contsify a variable in packet-alcap.c to see if a fake bug reported by coverty goes away. - fix an off by one error in packet-telnet.c reported by coverty svn path=/trunk/; revision=17487 --- epan/dissectors/packet-alcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-alcap.c') diff --git a/epan/dissectors/packet-alcap.c b/epan/dissectors/packet-alcap.c index 1f1e6b340d..303f846965 100644 --- a/epan/dissectors/packet-alcap.c +++ b/epan/dissectors/packet-alcap.c @@ -1373,7 +1373,7 @@ static void dissect_alcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { int offset; proto_item* pi; proto_tree* compat_tree; - alcap_msg_type_info_t* msg_type; + const alcap_msg_type_info_t* msg_type; if (check_col(pinfo->cinfo, COL_PROTOCOL)) col_set_str(pinfo->cinfo, COL_PROTOCOL, alcap_proto_name_short); -- cgit v1.2.3