aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-08-27 11:27:47 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-08-27 11:27:47 +0000
commitf343b83872aa35110003495b5ce45068b6ed10e6 (patch)
tree96c547861893508cff5fb6f72226fc21014a2253 /epan/dissectors
parent58b36918643d9f94c1a032659b2c8588df8c79d3 (diff)
squelch some compiler warnings
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19052 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-radius.c2
-rw-r--r--epan/dissectors/packet-rmcp.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-radius.c b/epan/dissectors/packet-radius.c
index 9c4c3d0f2d..f2a13a4a1e 100644
--- a/epan/dissectors/packet-radius.c
+++ b/epan/dissectors/packet-radius.c
@@ -992,7 +992,7 @@ extern void radius_register_avp_dissector(guint32 vendor_id, guint32 attribute_i
vendor->ett = no_vendor.ett;
g_hash_table_insert(dict->vendors_by_id,GUINT_TO_POINTER(vendor->code),vendor);
- g_hash_table_insert(dict->vendors_by_name,vendor->name,vendor);
+ g_hash_table_insert(dict->vendors_by_name,(gpointer)(vendor->name),vendor);
}
dictionary_entry = g_hash_table_lookup(vendor->attrs_by_id,GUINT_TO_POINTER(attribute_id));
diff --git a/epan/dissectors/packet-rmcp.c b/epan/dissectors/packet-rmcp.c
index 69bb81a126..e33d7e35b9 100644
--- a/epan/dissectors/packet-rmcp.c
+++ b/epan/dissectors/packet-rmcp.c
@@ -155,8 +155,8 @@ dissect_rmcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
static int
dissect_rsp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- proto_tree *rsp_tree = NULL, *field_tree;
- proto_item *ti, *tf;
+ proto_tree *rsp_tree = NULL/*, *field_tree*/;
+ proto_item *ti/*, *tf*/;
tvbuff_t *next_tvb;
int offset = 0;