Commit 6021ec03 authored by Lev Walkin's avatar Lev Walkin

remove warning

parent d0f7b91e
......@@ -254,6 +254,7 @@ BOOLEAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
BOOLEAN_t *st = (BOOLEAN_t *)*sptr;
(void)opt_codec_ctx;
(void)td;
(void)constraints;
if(!st) {
......
......@@ -141,7 +141,7 @@ OCTET_STRING_encode_oer(asn_TYPE_descriptor_t *td,
break;
}
if(st->size != unit_bytes * ct_size) {
if(st->size != unit_bytes * (size_t)ct_size) {
ASN_DEBUG(
"Trying to encode %s (%zu bytes) which doesn't fit SIZE "
"constraint (%d)",
......
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