commit | 7b3c03179091e5a849fe0aa9d2ac7290806c36a7 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue Aug 22 13:57:07 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue Aug 22 13:57:07 2006 +0000 |
tree | e64d24c9176682eeb557735bed9e6ea29f748ceb | |
parent | ab7e5ef6951dbf9db710937fd6aee5623a2b723e [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 *