From ef4a86d6b8eb7334ffa3a5a55f8432d723f8a502 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Fri, 18 Jul 2014 16:39:58 +0200 Subject: Fix trivial warnings in MPRealSupport --- unsupported/Eigen/MPRealSupport | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unsupported/Eigen/MPRealSupport') diff --git a/unsupported/Eigen/MPRealSupport b/unsupported/Eigen/MPRealSupport index 8e22b13c7..632de3854 100644 --- a/unsupported/Eigen/MPRealSupport +++ b/unsupported/Eigen/MPRealSupport @@ -88,9 +88,9 @@ int main() inline static Real epsilon (const Real& x) { return mpfr::machine_epsilon(x); } inline static Real dummy_precision() - { - unsigned int weak_prec = ((mpfr::mpreal::get_default_prec()-1) * 90) / 100; - return mpfr::machine_epsilon(weak_prec); + { + mpfr_prec_t weak_prec = ((mpfr::mpreal::get_default_prec()-1) * 90) / 100; + return mpfr::machine_epsilon(weak_prec); } }; -- cgit v1.2.3