fix warns

This commit is contained in:
Sandipsinh Rathod 2024-10-11 13:32:08 -04:00
parent e3a728e10b
commit 22d6b6632e
No known key found for this signature in database

@ -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();
}
}