devices/asrc, cleanup #4/9, unify model cast

This commit is contained in:
rlar 2015-04-11 21:26:15 +02:00
parent 03ef81785a
commit b91386222e
1 changed files with 2 additions and 2 deletions

View File

@ -140,10 +140,10 @@ ASRCunsetup(
GENmodel *inModel,
CKTcircuit *ckt)
{
ASRCmodel *model;
ASRCmodel *model = (ASRCmodel *) inModel;
ASRCinstance *here;
for (model = (ASRCmodel *) inModel; model != NULL;
for (; model != NULL;
model = model->ASRCnextModel)
{
for (here = model->ASRCinstances; here != NULL;