struct card, #6/6, drop some redundant casts
This commit is contained in:
parent
4ec2717079
commit
ee489599cb
|
|
@ -53,7 +53,7 @@ if_sens_run(CKTcircuit *ckt, wordlist *args, INPtables *tab)
|
|||
deck.linenum_orig = 0;
|
||||
deck.line = buf;
|
||||
|
||||
current = (struct card *) &deck;
|
||||
current = &deck;
|
||||
line = current->line;
|
||||
INPgetTok(&line, &token, 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -160,16 +160,16 @@ if_inpdeck(struct card *deck, INPtables **tab)
|
|||
|
||||
/* reset the model table, will be filled in anew in INPpas1() */
|
||||
modtab = NULL;
|
||||
INPpas1(ckt, (struct card *) deck->nextcard, *tab);
|
||||
INPpas1(ckt, deck->nextcard, *tab);
|
||||
/* store the new model table in the current circuit */
|
||||
ft_curckt->ci_modtab = modtab;
|
||||
INPpas2(ckt, (struct card *) deck->nextcard, *tab, ft_curckt->ci_defTask);
|
||||
INPpas2(ckt, deck->nextcard, *tab, ft_curckt->ci_defTask);
|
||||
|
||||
/* INPpas2 has been modified to ignore .NODESET and .IC
|
||||
* cards. These are left till INPpas3 so that we can check for
|
||||
* nodeset/ic of non-existant nodes. */
|
||||
|
||||
INPpas3(ckt, (struct card *) deck->nextcard,
|
||||
INPpas3(ckt, deck->nextcard,
|
||||
*tab, ft_curckt->ci_defTask, ft_sim->nodeParms,
|
||||
ft_sim->numNodeParms);
|
||||
|
||||
|
|
@ -300,7 +300,7 @@ if_run(CKTcircuit *ckt, char *what, wordlist *args, INPtables *tab)
|
|||
|
||||
/*CDHW ci_curTask and ci_specTask point to the interactive task AAA CDHW*/
|
||||
|
||||
INPpas2(ckt, (struct card *) &deck, tab, ft_curckt->ci_specTask);
|
||||
INPpas2(ckt, &deck, tab, ft_curckt->ci_specTask);
|
||||
|
||||
if (deck.error) {
|
||||
fprintf(cp_err, "Warning: %s\n", deck.error);
|
||||
|
|
|
|||
Loading…
Reference in New Issue