# HG changeset patch # User jwe # Date 1077047963 0 # Node ID 743ef6154f8a5b165c09f699f82f9936590f86a6 # Parent 55975a3073be116947be0136c1bad36c1aa7b30e [project @ 2004-02-17 19:59:23 by jwe] diff -r 55975a3073be -r 743ef6154f8a liboctave/lo-utils.cc --- 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 ((x > 0) ? (x + 0.5) : (x - 0.5)); } double diff -r 55975a3073be -r 743ef6154f8a liboctave/oct-fftw.cc --- 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++)