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/camel/packet-camel-template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asn1/camel') diff --git a/asn1/camel/packet-camel-template.c b/asn1/camel/packet-camel-template.c index 6a6599442c..6a500dc418 100644 --- a/asn1/camel/packet-camel-template.c +++ b/asn1/camel/packet-camel-template.c @@ -336,10 +336,10 @@ dissect_camel_camelPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn opcode = 0; application_context_version = 0; if (actx->pinfo->private_data != NULL){ - p_private_tcap=actx->pinfo->private_data; + p_private_tcap=(struct tcap_private_t *)actx->pinfo->private_data; if (p_private_tcap->acv==TRUE ){ - version_ptr = strrchr(p_private_tcap->oid,'.'); + version_ptr = strrchr((char *)p_private_tcap->oid,'.'); if (version_ptr) application_context_version = atoi(version_ptr+1); } -- cgit v1.2.1