aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/constr_CHOICE.c
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2005-01-17 14:32:45 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2005-01-17 14:32:45 +0000
commita8f4a4cab02b4ebe537abb303c365cd4254fc44e (patch)
tree98977afd3089390dbe16ec02919468bfa71ded82 /skeletons/constr_CHOICE.c
parent9a25e4addf27a4d96f9bcac0e12f558c1b6beaba (diff)
no lvalue casting
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@601 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'skeletons/constr_CHOICE.c')
-rw-r--r--skeletons/constr_CHOICE.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/skeletons/constr_CHOICE.c b/skeletons/constr_CHOICE.c
index fac93a52..40e99e5d 100644
--- a/skeletons/constr_CHOICE.c
+++ b/skeletons/constr_CHOICE.c
@@ -186,7 +186,7 @@ CHOICE_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_TYPE_tag2member_t key;
key.el_tag = tlv_tag;
- (void *)t2m = bsearch(&key,
+ t2m = (asn_TYPE_tag2member_t *)bsearch(&key,
specs->tag2el, specs->tag2el_count,
sizeof(specs->tag2el[0]), _search4tag);
if(t2m) {