devices/asrc, cleanup #4/9, unify model cast
This commit is contained in:
parent
03ef81785a
commit
b91386222e
|
|
@ -140,10 +140,10 @@ ASRCunsetup(
|
||||||
GENmodel *inModel,
|
GENmodel *inModel,
|
||||||
CKTcircuit *ckt)
|
CKTcircuit *ckt)
|
||||||
{
|
{
|
||||||
ASRCmodel *model;
|
ASRCmodel *model = (ASRCmodel *) inModel;
|
||||||
ASRCinstance *here;
|
ASRCinstance *here;
|
||||||
|
|
||||||
for (model = (ASRCmodel *) inModel; model != NULL;
|
for (; model != NULL;
|
||||||
model = model->ASRCnextModel)
|
model = model->ASRCnextModel)
|
||||||
{
|
{
|
||||||
for (here = model->ASRCinstances; here != NULL;
|
for (here = model->ASRCinstances; here != NULL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue