From 31ea91b7bd528162cee5a3e6dfe79605b2dc6c44 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sat, 13 Feb 2021 05:47:37 +0100 Subject: [PATCH] refs #97, signed/unsigned warning in test --- test/filesystem_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/filesystem_test.cpp b/test/filesystem_test.cpp index e5308a5..81a4d23 100644 --- a/test/filesystem_test.cpp +++ b/test/filesystem_test.cpp @@ -2024,7 +2024,7 @@ static uintmax_t getHardlinkCount(const fs::path& p) { struct stat st = {}; auto rc = ::lstat(p.c_str(), &st); - return rc == 0 ? st.st_nlink : ~0; + return rc == 0 ? st.st_nlink : ~0u; } #endif