mercurial/parsers.c
changeset 19030 48d6f436363e
parent 18988 5bae936764bb
child 19062 365b0de17c1c
--- a/mercurial/parsers.c	Wed Apr 17 21:06:48 2013 +0400
+++ b/mercurial/parsers.c	Wed Apr 17 12:57:26 2013 -0500
@@ -1192,6 +1192,7 @@
 	PyObject *gca = PyList_New(0);
 	int i, v, interesting, left;
 	int maxrev = -1;
+	long sp;
 	bitmask *seen;
 
 	for (i = 0; i < revcount; i++) {
@@ -1241,7 +1242,7 @@
 			int p = parents[i];
 			if (p == -1)
 				continue;
-			const long sp = seen[p];
+			sp = seen[p];
 			if (sv < poison) {
 				if (sp == 0) {
 					seen[p] = sv;