fix warns
This commit is contained in:
parent
e3a728e10b
commit
22d6b6632e
2
main.cpp
2
main.cpp
@ -247,7 +247,7 @@ void printBoard(char **board, int x, int y) {
|
||||
for (int i = 0; i < x; ++i) {
|
||||
int length = 2 + (i >= 10 ? 2 : 1);
|
||||
for(int j = 0; j < y; ++j) {
|
||||
if (ans[i + 2][j + 2].size() > length) {
|
||||
if ((int)ans[i + 2][j + 2].size() > length) {
|
||||
length = ans[i + 2][j + 2].size();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user