Skip to content

Commit

Permalink
refs #97, signed/unsigned warning in test
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Feb 13, 2021
1 parent 57f3186 commit 31ea91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/filesystem_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 31ea91b

Please sign in to comment.