Skip to content

Commit 99beae2

Browse files
author
neal.norwitz
committed
Alexander Belopolsky pointed out that pos is a size_t
git-svn-id: http://svn.python.org/projects/python/trunk@51473 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 61e7d71 commit 99beae2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/mmapmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ static PyObject *
470470
mmap_tell_method(mmap_object *self, PyObject *unused)
471471
{
472472
CHECK_VALID(NULL);
473-
return PyInt_FromSsize_t(self->pos);
473+
return PyInt_FromSize_t(self->pos);
474474
}
475475

476476
static PyObject *

0 commit comments

Comments
 (0)