Fix a warning on Windows x64:

include\CGAL/GMP/Gmpfr_type.h(1013) : warning C4267: 'argument' :
conversion from 'size_t' to 'CGAL::Gmpfr::Precision_type', possible loss of
data
This commit is contained in:
Laurent Rineau 2012-10-17 08:02:04 +00:00
parent 8d67e79814
commit 964f3a1767
1 changed files with 1 additions and 1 deletions

View File

@ -1010,7 +1010,7 @@ std::pair<Gmpz,long> 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);