aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/asn1/packet-asn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/asn1/packet-asn1.c')
-rw-r--r--plugins/asn1/packet-asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c
index af578fca4e..b58e9cf3b2 100644
--- a/plugins/asn1/packet-asn1.c
+++ b/plugins/asn1/packet-asn1.c
@@ -2582,7 +2582,7 @@ index_typedef(GNode *node, gpointer data)
t->refs = g_ptr_array_new(); /* collect references here */
node = g_node_first_child(node); /* the real type */
tag = (TBLTag *)node->data;
- if ((tag->type == TBLTYPE_Type) && (((TBLType *)tag)->typeId == TBL_CHOICE)) {
+ if ((tag->type == TBLTYPE_Type) && (((TBLType *)(void *)tag)->typeId == TBL_CHOICE)) {
/* no reasonable default... ! */
t->defclass = 3; /* Private .... */
t->deftag= 9999; /* a random value */