mirror of
https://github.com/python/cpython.git
synced 2025-12-08 02:08:20 +00:00
Alexander Belopolsky pointed out that pos is a size_t
This commit is contained in:
parent
c85578725b
commit
670f875a7c
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ static PyObject *
|
||||||
mmap_tell_method(mmap_object *self, PyObject *unused)
|
mmap_tell_method(mmap_object *self, PyObject *unused)
|
||||||
{
|
{
|
||||||
CHECK_VALID(NULL);
|
CHECK_VALID(NULL);
|
||||||
return PyInt_FromSsize_t(self->pos);
|
return PyInt_FromSize_t(self->pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue