diff --git a/ChangeLog b/ChangeLog index a65fba3a2..eb07bd8bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/frontend/trannoise/1-f-code.c b/src/frontend/trannoise/1-f-code.c index f89b9ffa2..81d9b9d50 100644 --- a/src/frontend/trannoise/1-f-code.c +++ b/src/frontend/trannoise/1-f-code.c @@ -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; diff --git a/src/spicelib/devices/ltra/ltraacld.c b/src/spicelib/devices/ltra/ltraacld.c index e6aa75bae..a520a5c7b 100644 --- a/src/spicelib/devices/ltra/ltraacld.c +++ b/src/spicelib/devices/ltra/ltraacld.c @@ -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