mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
fix x64 warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
90af406338
commit
2834fea9b3
|
@ -58,8 +58,8 @@ unsigned get_width_of_column(unsigned j, vector<vector<std::string>> & A) {
|
||||||
unsigned r = 0;
|
unsigned r = 0;
|
||||||
for (unsigned i = 0; i < A.size(); i++) {
|
for (unsigned i = 0; i < A.size(); i++) {
|
||||||
vector<std::string> & t = A[i];
|
vector<std::string> & t = A[i];
|
||||||
std::string str= t[j];
|
std::string str = t[j];
|
||||||
unsigned s = str.size();
|
unsigned s = static_cast<unsigned>(str.size());
|
||||||
if (r < s) {
|
if (r < s) {
|
||||||
r = s;
|
r = s;
|
||||||
}
|
}
|
||||||
|
@ -69,8 +69,8 @@ unsigned get_width_of_column(unsigned j, vector<vector<std::string>> & A) {
|
||||||
|
|
||||||
void print_matrix_with_widths(vector<vector<std::string>> & A, vector<unsigned> & ws, std::ostream & out) {
|
void print_matrix_with_widths(vector<vector<std::string>> & A, vector<unsigned> & ws, std::ostream & out) {
|
||||||
for (unsigned i = 0; i < A.size(); i++) {
|
for (unsigned i = 0; i < A.size(); i++) {
|
||||||
for (unsigned j = 0; j < A[i].size(); j++) {
|
for (unsigned j = 0; j < static_cast<unsigned>(A[i].size()); j++) {
|
||||||
print_blanks(ws[j] - A[i][j].size(), out);
|
print_blanks(ws[j] - static_cast<unsigned>(A[i][j].size()), out);
|
||||||
out << A[i][j] << " ";
|
out << A[i][j] << " ";
|
||||||
}
|
}
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
|
|
Loading…
Reference in a new issue