mercurial/cext/manifest.c
branchstable
changeset 44132 f0a4084f82d6
parent 44100 969527ac7b44
child 44702 0b0e72b5d551
--- a/mercurial/cext/manifest.c	Tue Jan 21 13:16:30 2020 -0500
+++ b/mercurial/cext/manifest.c	Tue Jan 21 12:10:35 2020 -0800
@@ -80,7 +80,7 @@
 	PyObject *hash = nodeof(l);
 
 	/* 40 for hash, 1 for null byte, 1 for newline */
-	size_t hplen = plen + 42;
+	Py_ssize_t hplen = plen + 42;
 	Py_ssize_t flen = l->len - hplen;
 	PyObject *flags;
 	PyObject *tup;
@@ -525,7 +525,7 @@
 	PyObject *pyflags;
 	char *flags;
 	Py_ssize_t flen;
-	size_t dlen;
+	Py_ssize_t dlen;
 	char *dest;
 	int i;
 	line new;