3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-14 04:48:45 +00:00

fix build with new gcc and clang compilers

This commit is contained in:
Gianfranco Costamagna 2016-09-26 08:06:38 +02:00 committed by GitHub
parent 8cf356224e
commit 4817b87b7d

View file

@ -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>(UINT64_MAX));
m.set(expected, "18446744075857035263");
m.sub(big, intmin, r);
std::cout << "r: " << m.to_string(r) << "\nexpected: " << m.to_string(expected) << "\n";