From 4817b87b7d7727f76ae534c76c10c4828c79816c Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Mon, 26 Sep 2016 08:06:38 +0200 Subject: [PATCH] fix build with new gcc and clang compilers --- src/test/mpz.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/mpz.cpp b/src/test/mpz.cpp index d7944ae95..ee7cf39f1 100644 --- a/src/test/mpz.cpp +++ b/src/test/mpz.cpp @@ -280,7 +280,7 @@ void tst_int_min_bug() { mpz big; mpz expected; mpz r; - m.set(big, UINT64_MAX); + m.set(big, static_cast(UINT64_MAX)); m.set(expected, "18446744075857035263"); m.sub(big, intmin, r); std::cout << "r: " << m.to_string(r) << "\nexpected: " << m.to_string(expected) << "\n";