Commit 23fd2fa6 authored by Lev Walkin's avatar Lev Walkin

revert to casting lvalue

parent abc76b01
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment