mercurial/cext/bdiff.c
changeset 36916 1b9f6440506b
parent 36763 90f8fe72446c
child 37980 273ea09f6550
--- a/mercurial/cext/bdiff.c	Fri Mar 09 21:42:33 2018 -0500
+++ b/mercurial/cext/bdiff.c	Fri Mar 09 21:59:07 2018 -0500
@@ -257,7 +257,8 @@
 	return NULL;
 }
 
-static int hunk_consumer(long a1, long a2, long b1, long b2, void *priv)
+static int hunk_consumer(int64_t a1, int64_t a2, int64_t b1, int64_t b2,
+                         void *priv)
 {
 	PyObject *rl = (PyObject *)priv;
 	PyObject *m = Py_BuildValue("llll", a1, a2, b1, b2);