Commit fe2c1f69 authored by Raphael Riebl's avatar Raphael Riebl Committed by Mouse

INTEGER_uper: use asn_umax2INTEGER for uintmax_t value

No related merge requests found
......@@ -66,7 +66,7 @@ INTEGER_decode_uper(const asn_codec_ctx_t *opt_codec_ctx,
ASN_DEBUG("Got value %lu + low %ld",
uvalue, ct->lower_bound);
uvalue += ct->lower_bound;
if(asn_ulong2INTEGER(st, uvalue))
if(asn_umax2INTEGER(st, uvalue))
ASN__DECODE_FAILED;
} else {
uintmax_t uvalue = 0;
......
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