Alexander Belopolsky pointed out that pos is a size_t

This commit is contained in:
Neal Norwitz 2006-08-22 13:56:56 +00:00
parent c85578725b
commit 670f875a7c

View file

@ -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 *