aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/mercurial.cc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-12-08 14:16:06 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2020-12-23 23:41:58 -0600
commitd4870462f8f539adeaa6dca476aff6f1f31e1981 (patch)
treef8726f39c9a3095fa1a5c447a272887108fcccc7 /src/libfetchers/mercurial.cc
parent9c143c411b2190a05907416266b0022e5b17dd02 (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.cc2
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())