diff --git a/main.cpp b/main.cpp index d36e003..e4841a2 100644 --- a/main.cpp +++ b/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(); } }