YuanMeng was very helpful in finding these
diff --git a/tests/60-any-OK.asn1.-P b/tests/60-any-OK.asn1.-P
index 3f80bde..4d2f7e8 100644
--- a/tests/60-any-OK.asn1.-P
+++ b/tests/60-any-OK.asn1.-P
@@ -25,14 +25,14 @@
{ ATF_NOFLAGS, 0, offsetof(struct T1, i),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
- .type = (void *)&asn_DEF_INTEGER,
+ .type = &asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "i"
},
{ ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct T1, any),
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
- .type = (void *)&asn_DEF_ANY,
+ .type = &asn_DEF_ANY,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "any"
},
@@ -100,14 +100,14 @@
{ ATF_NOFLAGS, 0, offsetof(struct T2, i),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
- .type = (void *)&asn_DEF_INTEGER,
+ .type = &asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "i"
},
{ ATF_POINTER, 1, offsetof(struct T2, any),
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
- .type = (void *)&asn_DEF_ANY,
+ .type = &asn_DEF_ANY,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "any"
},
@@ -175,14 +175,14 @@
{ ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct T3, any1),
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
- .type = (void *)&asn_DEF_ANY,
+ .type = &asn_DEF_ANY,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "any1"
},
{ ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct T3, any2),
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
- .type = (void *)&asn_DEF_ANY,
+ .type = &asn_DEF_ANY,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "any2"
},