fix warnings
diff --git a/skeletons/constr_SET.c b/skeletons/constr_SET.c
index 55a0bad..a4f276a 100644
--- a/skeletons/constr_SET.c
+++ b/skeletons/constr_SET.c
@@ -112,7 +112,7 @@
asn_dec_rval_t rval; /* Return code from subparsers */
ssize_t consumed_myself = 0; /* Consumed bytes from ptr */
- int edx; /* SET element's index */
+ size_t edx; /* SET element's index */
ASN_DEBUG("Decoding %s as SET", td->name);
@@ -394,7 +394,7 @@
static int
_SET_is_populated(asn_TYPE_descriptor_t *td, void *st) {
asn_SET_specifics_t *specs = (asn_SET_specifics_t *)td->specifics;
- int edx;
+ size_t edx;
/*
* Check that all mandatory elements are present.
@@ -441,9 +441,9 @@
int t2m_build_own = (specs->tag2el_count != td->elements_count);
const asn_TYPE_tag2member_t *t2m;
asn_TYPE_tag2member_t *t2m_build;
- int t2m_count;
+ size_t t2m_count;
ssize_t ret;
- int edx;
+ size_t edx;
/*
* Use existing, or build our own tags map.
@@ -603,7 +603,7 @@
asn_dec_rval_t rval; /* Return value from a decoder */
ssize_t consumed_myself = 0; /* Consumed bytes from ptr */
- int edx; /* Element index */
+ size_t edx; /* Element index */
/*
* Create the target structure if it is not present already.
@@ -808,8 +808,8 @@
asn_enc_rval_t er;
int xcan = (flags & XER_F_CANONICAL);
const asn_TYPE_tag2member_t *t2m = specs->tag2el_cxer;
- int t2m_count = specs->tag2el_cxer_count;
- int edx;
+ size_t t2m_count = specs->tag2el_cxer_count;
+ size_t edx;
if(!sptr)
ASN__ENCODE_FAILED;
@@ -865,7 +865,7 @@
int
SET_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel,
asn_app_consume_bytes_f *cb, void *app_key) {
- int edx;
+ size_t edx;
int ret;
if(!sptr) return (cb("<absent>", 8, app_key) < 0) ? -1 : 0;
@@ -911,7 +911,7 @@
void
SET_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only) {
- int edx;
+ size_t edx;
if(!td || !ptr)
return;
@@ -939,7 +939,7 @@
int
SET_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
- int edx;
+ size_t edx;
if(!sptr) {
ASN__CTFAIL(app_key, td, sptr,