more heuristics testing
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@929 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/tests/42-real-life-OK.asn1.-PR b/tests/42-real-life-OK.asn1.-PR
index 279e5dc..09aed56 100644
--- a/tests/42-real-life-OK.asn1.-PR
+++ b/tests/42-real-life-OK.asn1.-PR
@@ -51,11 +51,8 @@
return -1;
}
- { /* Determine the number of elements */
- const A_SEQUENCE_OF(void) *list;
- (const void *)list = sptr;
- size = list->count;
- }
+ /* Determine the number of elements */
+ size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
if((size >= 1)) {
/* Perform validation of the inner elements */
@@ -388,11 +385,8 @@
return -1;
}
- { /* Determine the number of elements */
- const A_SET_OF(void) *list;
- (const void *)list = sptr;
- size = list->count;
- }
+ /* Determine the number of elements */
+ size = _A_CSET_FROM_VOID(sptr)->count;
if((size >= 1)) {
/* Perform validation of the inner elements */