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/mercurial.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/mercurial.cc')
-rw-r--r-- | src/libfetchers/mercurial.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/mercurial.cc b/src/libfetchers/mercurial.cc index 07a51059d..0eb401e10 100644 --- a/src/libfetchers/mercurial.cc +++ b/src/libfetchers/mercurial.cc @@ -301,7 +301,7 @@ struct MercurialInputScheme : InputScheme Attrs infoAttrs({ {"rev", input.getRev()->gitRev()}, - {"revCount", (int64_t) revCount}, + {"revCount", (uint64_t) revCount}, }); if (!_input.getRev()) |