1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 23:11:16 +02:00

Shut up signedness warning

This commit is contained in:
Eelco Dolstra 2018-03-19 11:57:15 +01:00
parent b2074f0892
commit 138af2e554
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
git fetch to update the local ref to the remote ref. */
struct stat st;
doFetch = stat(localRefFile.c_str(), &st) != 0 ||
st.st_mtime <= now - settings.tarballTtl;
st.st_mtime + settings.tarballTtl <= now;
}
if (doFetch)
{