commit | 670f875a7cccfb3b63196bb560a8dd3cf5950ad9 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue Aug 22 13:56:56 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue Aug 22 13:56:56 2006 +0000 |
tree | 00a6e0286ae81c756fee8d0ac627115ac67d6195 | |
parent | c85578725bd3aeccfb1e8d55f84057c3cfbb0f54 [diff] [blame] |
Alexander Belopolsky pointed out that pos is a size_t
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index b8dd02d..091ecd6 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c
@@ -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 *