mercurial/diffhelpers.c
changeset 16695 0a0933d3d59c
parent 16694 797b76205408
child 23959 c8e7fa41bfc5
equal deleted inserted replaced
16694:797b76205408 16695:0a0933d3d59c
   132 testhunk(PyObject *self, PyObject *args)
   132 testhunk(PyObject *self, PyObject *args)
   133 {
   133 {
   134 
   134 
   135 	PyObject *a, *b;
   135 	PyObject *a, *b;
   136 	long bstart;
   136 	long bstart;
   137 	int alen, blen;
   137 	Py_ssize_t alen, blen;
   138 	int i;
   138 	Py_ssize_t i;
   139 	char *sa, *sb;
   139 	char *sa, *sb;
   140 
   140 
   141 	if (!PyArg_ParseTuple(args, "OOl", &a, &b, &bstart))
   141 	if (!PyArg_ParseTuple(args, "OOl", &a, &b, &bstart))
   142 		return NULL;
   142 		return NULL;
   143 	alen = PyList_Size(a);
   143 	alen = PyList_Size(a);