aboutsummaryrefslogtreecommitdiffstats
path: root/tests/42-real-life-OK.asn1.-PR
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-07-04 02:03:57 +0000
committerLev Walkin <vlm@lionet.info>2005-07-04 02:03:57 +0000
commit66d542b6b89338a6155bd47b706a21e36edc023e (patch)
tree2226f0c592c54708d9dad62973de3fb6eb4bc989 /tests/42-real-life-OK.asn1.-PR
parentf1a512366b1a498e587e873fc213a9bd9606094b (diff)
more heuristics testing
Diffstat (limited to 'tests/42-real-life-OK.asn1.-PR')
-rw-r--r--tests/42-real-life-OK.asn1.-PR14
1 files changed, 4 insertions, 10 deletions
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 */