mercurial/diffhelpers.c
changeset 16695 0a0933d3d59c
parent 16694 797b76205408
child 23959 c8e7fa41bfc5
--- a/mercurial/diffhelpers.c	Sat May 12 13:21:08 2012 +0200
+++ b/mercurial/diffhelpers.c	Sat May 12 14:00:51 2012 +0200
@@ -134,8 +134,8 @@
 
 	PyObject *a, *b;
 	long bstart;
-	int alen, blen;
-	int i;
+	Py_ssize_t alen, blen;
+	Py_ssize_t i;
 	char *sa, *sb;
 
 	if (!PyArg_ParseTuple(args, "OOl", &a, &b, &bstart))