Commit 94fc4186 authored by Lev Walkin's avatar Lev Walkin

fixed constraint reference

parent 20dc6247
...@@ -32,7 +32,7 @@ NativeInteger_decode_oer(asn_codec_ctx_t *opt_codec_ctx, ...@@ -32,7 +32,7 @@ NativeInteger_decode_oer(asn_codec_ctx_t *opt_codec_ctx,
* OPTIMIZATION: Encode directly rather than passing through INTEGER. * OPTIMIZATION: Encode directly rather than passing through INTEGER.
* Saves a memory allocation. * Saves a memory allocation.
*/ */
rval = INTEGER_decode_oer(opt_codec_ctx, &asn_DEF_INTEGER, constraints, rval = INTEGER_decode_oer(opt_codec_ctx, td, constraints,
(void **)&tmpintptr, ptr, size); (void **)&tmpintptr, ptr, size);
if(rval.code != RC_OK) { if(rval.code != RC_OK) {
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_INTEGER, &tmpint); ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_INTEGER, &tmpint);
......
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