mirror of https://gerrit.osmocom.org/asn1c
revert to casting lvalue
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@617 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
b2d582903a
commit
37bc03dca3
|
@ -523,8 +523,7 @@ emit_size_determination_code(arg_t *arg, asn1p_expr_type_e etype) {
|
|||
INDENT(+1);
|
||||
OUT("const A_%s_OF(void) *list;\n",
|
||||
etype==ASN_CONSTR_SET_OF?"SET":"SEQUENCE");
|
||||
OUT("list = (const A_%s_OF(void) *)sptr;\n",
|
||||
etype==ASN_CONSTR_SET_OF?"SET":"SEQUENCE");
|
||||
OUT("(const void *)list = sptr;\n");
|
||||
OUT("size = list->count;\n");
|
||||
INDENT(-1);
|
||||
OUT("}\n");
|
||||
|
|
Loading…
Reference in New Issue