Adding fixes for signedness warnings in smtutil

This commit is contained in:
Djordje Mijovic
2020-06-02 18:49:26 +02:00
parent e7f97cf3ac
commit d2924d83a2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ z3::expr Z3Interface::toZ3Expr(Expression const& _expr)
}
else if (n == "tuple_get")
{
size_t index = std::stoi(_expr.arguments[1].name);
size_t index = stoul(_expr.arguments[1].name);
return z3::func_decl(m_context, Z3_get_tuple_sort_field_decl(m_context, z3Sort(*_expr.arguments[0].sort), index))(arguments[0]);
}
else if (n == "tuple_constructor")