Mercurial > cpython-lru_cache-weakref
diff Modules/mmapmodule.c @ 39632:d65e6dcfdcb5 legacy-trunk
Alexander Belopolsky pointed out that pos is a size_t
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Tue, 22 Aug 2006 13:56:56 +0000 |
| parents | 2ffdee1c3884 |
| children | a30fede87643 6620a510e9a9 |
line wrap: on
line diff
--- a/Modules/mmapmodule.c Tue Aug 22 07:36:59 2006 +0000 +++ b/Modules/mmapmodule.c Tue Aug 22 13:56:56 2006 +0000 @@ -470,7 +470,7 @@ 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 *
