Commit 9c8731f7 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

sellist: cast e->cvalues to (cvalues_t *).

parent 3a46fd92
......@@ -357,9 +357,9 @@ void sellist_print(sellist_t *sellist)
printf("%3d %-16s %4d %4d ", idx+1, e->key, e->type, e->nvalues);
int nvalues = e->nvalues;
if ( nvalues > 12 ) nvalues = 11;
for ( int i = 0; i < nvalues; ++i ) sellist_print_val(e->type, e->cvalues, i);
for ( int i = 0; i < nvalues; ++i ) sellist_print_val(e->type, (cvalues_t *)e->cvalues, i);
if ( nvalues < e->nvalues ) printf(" ...");
sellist_print_val(e->type, e->cvalues, e->nvalues-1);
sellist_print_val(e->type, (cvalues_t *)e->cvalues, e->nvalues-1);
printf("\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