Browse Source

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

pre-master-46
rlar 11 years ago
parent
commit
b91386222e
  1. 4
      src/spicelib/devices/asrc/asrcset.c

4
src/spicelib/devices/asrc/asrcset.c

@ -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…
Cancel
Save