Mon, 19 May 2025 15:09:54 +0200
fix comparison of signed and unsigned value
src/repositories.cpp | file | annotate | diff | comparison | revisions |
--- a/src/repositories.cpp Mon May 19 15:09:33 2025 +0200 +++ b/src/repositories.cpp Mon May 19 15:09:54 2025 +0200 @@ -65,7 +65,7 @@ } else if (is_directory(p / ".git")) { m_repositories.emplace_back(GIT, canonical(p)); i.disable_recursion_pending(); - } else if (i.depth() == depth) { + } else if (static_cast<unsigned>(i.depth()) == depth) { i.disable_recursion_pending(); } }