mpatch: use int rather than ssize_t
We might need to be more clever than this to make Py2.5 happy.
To run the tests, do:cd tests/python run-tests.pySee http://www.selenic.com/mercurial/wiki/index.cgi/WritingTests formore information on writing tests.