From 7c56677cf9e703e6dde30529b24e27dd2a4960a9 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 19 Mar 2013 21:22:31 +0000 Subject: From beroset: remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429 --- asn1/qsig/packet-qsig-template.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asn1/qsig') diff --git a/asn1/qsig/packet-qsig-template.c b/asn1/qsig/packet-qsig-template.c index 583a7977e4..beb5c4fe3a 100644 --- a/asn1/qsig/packet-qsig-template.c +++ b/asn1/qsig/packet-qsig-template.c @@ -387,7 +387,7 @@ dissect_qsig_arg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data opcode = rctx->d.code_local; op_ptr = get_op(opcode); } else if (rctx->d.code == 1) { /* global */ - op_ptr = g_hash_table_lookup(qsig_oid2op_hashtable, rctx->d.code_global); + op_ptr = (qsig_op_t *)g_hash_table_lookup(qsig_oid2op_hashtable, rctx->d.code_global); if (op_ptr) opcode = op_ptr->opcode; } else { return offset; @@ -603,7 +603,7 @@ static void qsig_init_tables(void) { for (i=0; i