no lvalue casting
diff --git a/skeletons/constr_SET_OF.c b/skeletons/constr_SET_OF.c
index 164668c..febabe1 100644
--- a/skeletons/constr_SET_OF.c
+++ b/skeletons/constr_SET_OF.c
@@ -214,7 +214,7 @@
case RC_OK:
{
A_SET_OF(void) *list;
- (void *)list = st;
+ list = (A_SET_OF(void) *)st;
if(ASN_SET_ADD(list, ctx->ptr) != 0)
RETURN(RC_FAIL);
else
@@ -329,7 +329,7 @@
/*
* Gather the length of the underlying members sequence.
*/
- (void *)list = ptr;
+ list = (A_SET_OF(void) *)ptr;
for(edx = 0; edx < list->count; edx++) {
void *memb_ptr = list->array[edx];
erval = der_encoder(elm_type, memb_ptr, 0, elm->tag, 0, 0);
@@ -507,7 +507,7 @@
if(!sptr) _ASN_ENCODE_FAILED;
- (void *)list = sptr;
+ list = (A_SET_OF(void) *)sptr;
if(xcan) {
encs = (xer_tmp_enc_t *)MALLOC(list->count * sizeof(encs[0]));
@@ -601,7 +601,7 @@
|| cb(" ::= {", 6, app_key) < 0)
return -1;
- (const void *)list = sptr;
+ list = (const A_SET_OF(void) *)sptr;
for(i = 0; i < list->count; i++) {
const void *memb_ptr = list->array[i];
if(!memb_ptr) continue;
@@ -630,7 +630,7 @@
* Could not use set_of_empty() because of (*free)
* incompatibility.
*/
- (void *)list = ptr;
+ list = (A_SET_OF(void) *)ptr;
for(i = 0; i < list->count; i++) {
void *memb_ptr = list->array[i];
if(memb_ptr)
@@ -661,7 +661,7 @@
return -1;
}
- (const void *)list = sptr;
+ list = (const A_SET_OF(void) *)sptr;
constr = element->memb_constraints;
if(!constr) constr = element->type->check_constraints;