some long versus int type fixes
This commit is contained in:
parent
9452a6a004
commit
ca9e956323
|
|
@ -1,3 +1,8 @@
|
|||
2011-07-09 Robert Larice
|
||||
* src/spicelib/devices/ltra/ltraacld.c ,
|
||||
* src/frontend/trannoise/1-f-code.c :
|
||||
some long versus int type fixes
|
||||
|
||||
2011-07-09 Robert Larice
|
||||
* src/frontend/com_fft.c :
|
||||
possibly inexact long -> double cast
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ trnoise_state_gen(struct trnoise_state *this, CKTcircuit *ckt)
|
|||
size_t nosteps = (size_t) (ckt->CKTfinalTime / this->TS) + 10;
|
||||
|
||||
size_t newsteps = 1;
|
||||
long int newexp = 0;
|
||||
int newexp = 0;
|
||||
// generate number of steps as power of 2
|
||||
while(newsteps < nosteps) {
|
||||
newsteps <<= 1;
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@ LTRAacLoad(GENmodel *inModel, CKTcircuit *ckt)
|
|||
double y0_r, y0_i, lambda_r, lambda_i, mag, theta;
|
||||
double exparg_r, exparg_i, explambda_r, explambda_i;
|
||||
double y0exp_r, y0exp_i;
|
||||
int savemode, error;
|
||||
long savemode;
|
||||
int error;
|
||||
|
||||
/*
|
||||
* LTRAacLoad - loads for LTRA lines for the s.s. ac case the equations are
|
||||
|
|
|
|||
Loading…
Reference in New Issue