mercurial/parsers.c
changeset 22399 9f490afcb067
parent 21871 0feb41534421
child 22400 888bc106de83
--- 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)