3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-28 14:08:55 +00:00

use usize to suppress the data loss warnings

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-07-02 14:42:55 -07:00
parent f544dd4ab2
commit d2990e2f68
2 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ namespace nlsat {
polynomial_ref p(m_pm);
ptr_buffer<poly> ps;
buffer<bool> is_even;
unsigned num_atoms = m_atoms.size();
unsigned num_atoms = usize(m_atoms);
for (unsigned j = 0; j < num_atoms; ++j) {
atom* a1 = m_atoms[j];
if (a1 && a1->is_ineq_atom()) {