From: Neal Norwitz Date: Tue, 22 Aug 2006 13:56:56 +0000 (+0000) Subject: Alexander Belopolsky pointed out that pos is a size_t X-Git-Tag: v2.6a1~2755 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=670f875a7cccfb3b63196bb560a8dd3cf5950ad9;p=thirdparty%2FPython%2Fcpython.git Alexander Belopolsky pointed out that pos is a size_t --- diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index b8dd02d68766..091ecd6e1c30 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -470,7 +470,7 @@ static PyObject * mmap_tell_method(mmap_object *self, PyObject *unused) { CHECK_VALID(NULL); - return PyInt_FromSsize_t(self->pos); + return PyInt_FromSize_t(self->pos); } static PyObject *