# HG changeset patch # User Henrik Stuart # Date 1410199612 -7200 # Node ID 9f490afcb067bc15983dfeca891be67bb6e951e3 # Parent 402e5fba65096c2e7ecec5279809a921cec079e5 parsers: use bitmask type consistently in find_gca_candidates Normalized type usage in find_gca_candidates triggered by warning from Microsoft Visual C++ 2008. diff -r 402e5fba6509 -r 9f490afcb067 mercurial/parsers.c --- 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)