We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e27d804 + b3bbbd2 commit 75679b3Copy full SHA for 75679b3
src/libfetchers/git.cc
@@ -38,7 +38,7 @@ const std::string gitInitialBranch = "__nix_dummy_branch";
38
39
bool isCacheFileWithinTtl(time_t now, const struct stat & st)
40
{
41
- return st.st_mtime + settings.tarballTtl > now;
+ return st.st_mtime + static_cast<time_t>(settings.tarballTtl) > now;
42
}
43
44
Path getCachePath(std::string_view key, bool shallow)
0 commit comments