From: Neal Norwitz Date: Tue, 22 Aug 2006 13:57:07 +0000 (+0000) Subject: Alexander Belopolsky pointed out that pos is a size_t X-Git-Tag: v2.5c2~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b3c03179091e5a849fe0aa9d2ac7290806c36a7;p=python Alexander Belopolsky pointed out that pos is a size_t --- diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index b8dd02d687..091ecd6e1c 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 *