offsets are relative
diff --git a/skeletons/constr_TYPE.h b/skeletons/constr_TYPE.h
index dd065a7..248ba24 100644
--- a/skeletons/constr_TYPE.h
+++ b/skeletons/constr_TYPE.h
@@ -230,8 +230,8 @@
 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;
 
 /*