3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-03 22:06:11 +00:00

Fix 13 compiler warnings: sign-comparison and unused parameters (#8215)

* Initial plan

* Fix 13 compiler warnings: sign-comparison and unused parameters

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
Copilot 2026-01-16 16:00:42 -08:00 committed by GitHub
parent 9666915dca
commit 36323f723b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 13 additions and 13 deletions

View file

@ -224,7 +224,7 @@ class dl_graph {
SASSERT(m_assignment.size() == m_parent.size());
SASSERT(m_assignment.size() <= m_heap.get_bounds());
SASSERT(m_in_edges.size() == m_out_edges.size());
int n = m_out_edges.size();
int n = static_cast<int>(m_out_edges.size());
for (dl_var id = 0; id < n; ++id) {
const edge_id_vector & e_ids = m_out_edges[id];
for (edge_id e_id : e_ids) {
@ -1195,7 +1195,7 @@ public:
scc_id.reset();
m_roots.reset();
m_unfinished.reset();
int n = m_assignment.size();
int n = static_cast<int>(m_assignment.size());
m_unfinished_set.resize(n, false);
m_dfs_time.resize(n, -1);
scc_id.resize(n, -1);