diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-12-08 14:16:06 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-12-23 23:41:58 -0600 |
commit | d4870462f8f539adeaa6dca476aff6f1f31e1981 (patch) | |
tree | f8726f39c9a3095fa1a5c447a272887108fcccc7 /src/libfetchers/tarball.cc | |
parent | 9c143c411b2190a05907416266b0022e5b17dd02 (diff) |
Cast variants fully for libc++10
libc++10 seems to be stricter on what it allows in variant conversion.
I'm not sure what the rules are here, but this is the minimal change
needed to get through the compilation errors.
Diffstat (limited to 'src/libfetchers/tarball.cc')
-rw-r--r-- | src/libfetchers/tarball.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc index 8c0f20475..56c014a8c 100644 --- a/src/libfetchers/tarball.cc +++ b/src/libfetchers/tarball.cc @@ -152,7 +152,7 @@ std::pair<Tree, time_t> downloadTarball( } Attrs infoAttrs({ - {"lastModified", lastModified}, + {"lastModified", uint64_t(lastModified)}, {"etag", res.etag}, }); |