diff options
Diffstat (limited to 'plugins/mate/packet-mate.c')
-rw-r--r-- | plugins/mate/packet-mate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mate/packet-mate.c b/plugins/mate/packet-mate.c index 37f4baed1c..7b45b18fec 100644 --- a/plugins/mate/packet-mate.c +++ b/plugins/mate/packet-mate.c @@ -52,7 +52,7 @@ static void pdu_attrs_tree(proto_tree* tree, tvbuff_t *tvb, mate_pdu* pdu) { avpl_t = proto_item_add_subtree(avpl_i, pdu->cfg->ett_attr); for ( c = pdu->avpl->null.next; c->avp; c = c->next) { - hfi_p = g_hash_table_lookup(pdu->cfg->my_hfids,(char*)c->avp->n); + hfi_p = (int *)g_hash_table_lookup(pdu->cfg->my_hfids,(char*)c->avp->n); if (hfi_p) { proto_tree_add_string(avpl_t,*hfi_p,tvb,0,0,c->avp->v); @@ -73,7 +73,7 @@ static void gop_attrs_tree(proto_tree* tree, tvbuff_t *tvb, mate_gop* gop) { avpl_t = proto_item_add_subtree(avpl_i, gop->cfg->ett_attr); for ( c = gop->avpl->null.next; c->avp; c = c->next) { - hfi_p = g_hash_table_lookup(gop->cfg->my_hfids,(char*)c->avp->n); + hfi_p = (int *)g_hash_table_lookup(gop->cfg->my_hfids,(char*)c->avp->n); if (hfi_p) { proto_tree_add_string(avpl_t,*hfi_p,tvb,0,0,c->avp->v); @@ -94,7 +94,7 @@ static void gog_attrs_tree(proto_tree* tree, tvbuff_t *tvb, mate_gog* gog) { avpl_t = proto_item_add_subtree(avpl_i, gog->cfg->ett_attr); for ( c = gog->avpl->null.next; c->avp; c = c->next) { - hfi_p = g_hash_table_lookup(gog->cfg->my_hfids,(char*)c->avp->n); + hfi_p = (int *)g_hash_table_lookup(gog->cfg->my_hfids,(char*)c->avp->n); if (hfi_p) { proto_tree_add_string(avpl_t,*hfi_p,tvb,0,0,c->avp->v); |