Mercurial > hg
changeset 22399:9f490afcb067
parsers: use bitmask type consistently in find_gca_candidates
Normalized type usage in find_gca_candidates triggered by warning from
Microsoft Visual C++ 2008.
author | Henrik Stuart <hg@hstuart.dk> |
---|---|
date | Mon, 08 Sep 2014 20:06:52 +0200 |
parents | 402e5fba6509 |
children | 888bc106de83 |
files | mercurial/parsers.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/parsers.c Sat Aug 30 02:10:29 2014 +0200 +++ b/mercurial/parsers.c Mon Sep 08 20:06:52 2014 +0200 @@ -1304,7 +1304,7 @@ PyObject *gca = PyList_New(0); int i, v, interesting; int maxrev = -1; - long sp; + bitmask sp; bitmask *seen; if (gca == NULL) @@ -1327,7 +1327,7 @@ interesting = revcount; for (v = maxrev; v >= 0 && interesting; v--) { - long sv = seen[v]; + bitmask sv = seen[v]; int parents[2]; if (!sv)