Fix assert

This commit is contained in:
Carles Fernandez 2021-01-07 17:25:36 +01:00
parent ea86fb74b3
commit 25787deca7
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 2 additions and 2 deletions

View File

@ -755,7 +755,7 @@ asn_dec_rval_t CHOICE_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
{
RETURN(tmprval.code);
}
assert(_fetch_present_idx(st, specs->pres_offset,
assert(fetch_present_idx(st, specs->pres_offset,
specs->pres_size) == 0);
/* Record what we've got */
set_present_idx(st, specs->pres_offset, specs->pres_size,

View File

@ -755,7 +755,7 @@ asn_dec_rval_t CHOICE_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
{
RETURN(tmprval.code);
}
assert(_fetch_present_idx(st, specs->pres_offset,
assert(fetch_present_idx(st, specs->pres_offset,
specs->pres_size) == 0);
/* Record what we've got */
set_present_idx(st, specs->pres_offset, specs->pres_size,