mpatch: use int rather than ssize_t
We might need to be more clever than this to make Py2.5 happy.
--- a/mercurial/mpatch.c Thu Oct 11 17:46:06 2007 -0500
+++ b/mercurial/mpatch.c Thu Oct 11 17:47:04 2007 -0500
@@ -311,8 +311,7 @@
/* recursively generate a patch of all bins between start and end */
static struct flist *fold(PyObject *bins, int start, int end)
{
- int len;
- ssize_t blen;
+ int len, blen;
const char *buffer;
if (start + 1 == end) {
@@ -338,8 +337,7 @@
struct flist *patch;
const char *in;
char *out;
- int len, outlen;
- ssize_t inlen;
+ int len, inlen, outlen;
if (!PyArg_ParseTuple(args, "OO:mpatch", &text, &bins))
return NULL;