Alexander Belopolsky pointed out that pos is a size_t
This commit is contained in:
parent
ab7e5ef695
commit
7b3c031790
|
@ -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 *
|
||||
|
|
Loading…
Reference in New Issue