From b303d8bc40a72926891040a0754801dda2edf8c0 Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 16 Sep 2019 11:56:56 +0300 Subject: [PATCH] Update tests utils --- tests/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.cpp b/tests/utils.cpp index 593c4c91..44a8e6c2 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -87,7 +87,7 @@ std::size_t count_files(const std::string &folder) { if (ffd.cFileName[0] != '.') counter++; - } while (::FindNextFile(hFind, &ffd) == TRUE); + } while (::FindNextFile(hFind, &ffd) != 0); ::FindClose(hFind); } else