Commit f3f7f942 authored by Lev Walkin's avatar Lev Walkin

remove warnings

parent 33897e2e
...@@ -234,7 +234,7 @@ SET_decode_ber(const asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, ...@@ -234,7 +234,7 @@ SET_decode_ber(const asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
*/ */
edx = t2m->el_no; edx = t2m->el_no;
ctx->step = (edx << 1) + 1; ctx->step = (edx << 1) + 1;
ASN_DEBUG("Got tag %s (%s), edx %d", ASN_DEBUG("Got tag %s (%s), edx %zd",
ber_tlv_tag_string(tlv_tag), td->name, edx); ber_tlv_tag_string(tlv_tag), td->name, edx);
} else if(specs->extensible == 0) { } else if(specs->extensible == 0) {
ASN_DEBUG("Unexpected tag %s " ASN_DEBUG("Unexpected tag %s "
...@@ -272,7 +272,7 @@ SET_decode_ber(const asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, ...@@ -272,7 +272,7 @@ SET_decode_ber(const asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
* already decoded elements. * already decoded elements.
*/ */
if(ASN_SET_ISPRESENT2((char *)st + specs->pres_offset, edx)) { if(ASN_SET_ISPRESENT2((char *)st + specs->pres_offset, edx)) {
ASN_DEBUG("SET %s: Duplicate element %s (%d)", ASN_DEBUG("SET %s: Duplicate element %s (%zd)",
td->name, elements[edx].name, edx); td->name, elements[edx].name, edx);
RETURN(RC_FAIL); RETURN(RC_FAIL);
} }
...@@ -662,7 +662,7 @@ SET_decode_xer(const asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, ...@@ -662,7 +662,7 @@ SET_decode_xer(const asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
if(ASN_SET_ISPRESENT2((char *)st + specs->pres_offset, if(ASN_SET_ISPRESENT2((char *)st + specs->pres_offset,
edx)) { edx)) {
ASN_DEBUG("SET %s: Duplicate element %s (%d)", ASN_DEBUG("SET %s: Duplicate element %s (%zd)",
td->name, elements[edx].name, edx); td->name, elements[edx].name, edx);
RETURN(RC_FAIL); RETURN(RC_FAIL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment