Mercurial > octave-nkf
changeset 4784:743ef6154f8a
[project @ 2004-02-17 19:59:23 by jwe]
author | jwe |
---|---|
date | Tue, 17 Feb 2004 19:59:23 +0000 |
parents | 55975a3073be |
children | d3018a33c584 |
files | liboctave/lo-utils.cc liboctave/oct-fftw.cc |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/lo-utils.cc Tue Feb 17 17:16:37 2004 +0000 +++ b/liboctave/lo-utils.cc Tue Feb 17 19:59:23 2004 +0000 @@ -54,7 +54,7 @@ else if (x < INT_MIN) return INT_MIN; else - return (x > 0) ? ((int) (x + 0.5)) : ((int) (x - 0.5)); + return static_cast<int> ((x > 0) ? (x + 0.5) : (x - 0.5)); } double
--- a/liboctave/oct-fftw.cc Tue Feb 17 17:16:37 2004 +0000 +++ b/liboctave/oct-fftw.cc Tue Feb 17 19:59:23 2004 +0000 @@ -373,7 +373,7 @@ int octave_fftw::ifftNd (const Complex *in, Complex *out, const int rank, - const dim_vector &dv) + const dim_vector &dv) { int dist = 1; for (int i = 0; i < rank; i++)