diff options
-rw-r--r-- | skeletons/asn_codecs_prim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skeletons/asn_codecs_prim.c b/skeletons/asn_codecs_prim.c index 04a064dd..f2d045aa 100644 --- a/skeletons/asn_codecs_prim.c +++ b/skeletons/asn_codecs_prim.c @@ -245,8 +245,9 @@ xer_decode_primitive(asn_codec_ctx_t *opt_codec_ctx, switch(rc.code) { case RC_OK: if(!s_arg.decoded_something) { + char ch; /* Opportunity has come and gone. Where's the result? */ - if(prim_body_decode(s_arg.struct_key, "", 0) != 0) { + if(prim_body_decode(s_arg.struct_key, &ch, 0) != 0) { /* * This decoder does not like empty stuff. */ |