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:
vlm 2005-01-27 17:58:47 +00:00
parent b2d582903a
commit 37bc03dca3
1 changed files with 1 additions and 2 deletions

View File

@ -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");