offsets are relative

This commit is contained in:
Lev Walkin 2017-08-27 12:39:30 -07:00
parent 878a521e2b
commit d3fbff9552
1 changed files with 2 additions and 2 deletions

View File

@ -230,8 +230,8 @@ typedef struct asn_TYPE_member_s {
typedef struct asn_TYPE_tag2member_s {
ber_tlv_tag_t el_tag; /* Outmost tag of the member */
unsigned el_no; /* Index of the associated member, base 0 */
unsigned toff_first; /* First occurence of the el_tag, relative */
unsigned toff_last; /* Last occurence of the el_tag, relative */
int toff_first; /* First occurence of the el_tag, relative */
int toff_last; /* Last occurence of the el_tag, relative */
} asn_TYPE_tag2member_t;
/*