diff options
author | Lev Walkin <vlm@lionet.info> | 2004-07-01 00:48:04 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-07-01 00:48:04 +0000 |
commit | f9dbd9a2cada6d3c3786bacb755d6534f4b02967 (patch) | |
tree | c4c19985582dad35bbeda302f5d98179cd53ba40 /skeletons | |
parent | bbe04755dd38aab1be9d2bb9256dc496b4a0d04b (diff) |
slightly more adequate constant
Diffstat (limited to 'skeletons')
-rw-r--r-- | skeletons/constr_SEQUENCE.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skeletons/constr_SEQUENCE.c b/skeletons/constr_SEQUENCE.c index c9bc646d..2a5bbd45 100644 --- a/skeletons/constr_SEQUENCE.c +++ b/skeletons/constr_SEQUENCE.c @@ -237,9 +237,9 @@ SEQUENCE_decode_ber(asn1_TYPE_descriptor_t *sd, opt_edx_end = edx + elements[edx].optional + 1; if(opt_edx_end > specs->elements_count) opt_edx_end = specs->elements_count; /* Cap */ - else if(opt_edx_end - edx > 5) { + else if(opt_edx_end - edx > 8) { /* Limit the scope of linear search... */ - opt_edx_end = edx + 5; + opt_edx_end = edx + 8; use_bsearch = 1; /* ... and resort to bsearch() */ } |