From 66d542b6b89338a6155bd47b706a21e36edc023e Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Mon, 4 Jul 2005 02:03:57 +0000 Subject: more heuristics testing --- tests/42-real-life-OK.asn1.-PR | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'tests/42-real-life-OK.asn1.-PR') diff --git a/tests/42-real-life-OK.asn1.-PR b/tests/42-real-life-OK.asn1.-PR index 279e5dc2..09aed561 100644 --- a/tests/42-real-life-OK.asn1.-PR +++ b/tests/42-real-life-OK.asn1.-PR @@ -51,11 +51,8 @@ memb_varsets_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr, 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 @@ memb_vset_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr, 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 */ -- cgit v1.2.3