refs #97, signed/unsigned warning in test

This commit is contained in:
Steffen Schuemann 2021-02-13 05:47:37 +01:00
parent 57f3186ee2
commit 31ea91b7bd

View File

@ -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