From d3fbff955237e5918495e601ccf64a55e1b110eb Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Sun, 27 Aug 2017 12:39:30 -0700 Subject: [PATCH] offsets are relative --- skeletons/constr_TYPE.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skeletons/constr_TYPE.h b/skeletons/constr_TYPE.h index dd065a7d..248ba244 100644 --- a/skeletons/constr_TYPE.h +++ b/skeletons/constr_TYPE.h @@ -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; /*