diff --git a/Number_types/include/CGAL/GMP/Gmpfr_type.h b/Number_types/include/CGAL/GMP/Gmpfr_type.h index 9aaa9ab54b2..9812771eee4 100644 --- a/Number_types/include/CGAL/GMP/Gmpfr_type.h +++ b/Number_types/include/CGAL/GMP/Gmpfr_type.h @@ -1010,7 +1010,7 @@ std::pair Gmpfr::to_integer_exp()const{ CGAL_postcondition_code(if(e>=0)) CGAL_postcondition( - (*this)==(Gmpfr(z,z.bit_size())*CGAL::ipower(Gmpfr(2),e))); + (*this)==(Gmpfr(z,(mpfr_prec_t)z.bit_size())*CGAL::ipower(Gmpfr(2),e))); CGAL_postcondition_code(else) CGAL_postcondition(((*this)*(Gmpz(1)<<(-e)))==z);