From 7b3c03179091e5a849fe0aa9d2ac7290806c36a7 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 22 Aug 2006 13:57:07 +0000 Subject: [PATCH] Alexander Belopolsky pointed out that pos is a size_t --- Modules/mmapmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index b8dd02d6876..091ecd6e1c3 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 *