mirror of
https://github.com/Z3Prover/z3
synced 2025-06-07 14:43:23 +00:00
fixed warnings on Win64
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
8015d8b79a
commit
7f210d55be
3 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ std::string norm_param_name(char const * n) {
|
|||
if (*n == ':')
|
||||
n++;
|
||||
std::string r = n;
|
||||
unsigned sz = r.size();
|
||||
unsigned sz = static_cast<unsigned>(r.size());
|
||||
if (sz == 0)
|
||||
return "_";
|
||||
for (unsigned i = 0; i < sz; i++) {
|
||||
|
@ -135,7 +135,7 @@ struct param_descrs::imp {
|
|||
if (smt2_style)
|
||||
out << ':';
|
||||
char const * s = it2->bare_str();
|
||||
unsigned n = strlen(s);
|
||||
unsigned n = static_cast<unsigned>(strlen(s));
|
||||
for (unsigned i = 0; i < n; i++) {
|
||||
if (smt2_style && s[i] == '_')
|
||||
out << '-';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue