[Python-checkins] r51474 - python/branches/release25-maint/Modules/mmapmodule.c
neal.norwitz
python-checkins at python.org
Tue Aug 22 15:57:07 CEST 2006
Author: neal.norwitz
Date: Tue Aug 22 15:57:07 2006
New Revision: 51474
Modified:
python/branches/release25-maint/Modules/mmapmodule.c
Log:
Alexander Belopolsky pointed out that pos is a size_t
Modified: python/branches/release25-maint/Modules/mmapmodule.c
==============================================================================
--- python/branches/release25-maint/Modules/mmapmodule.c (original)
+++ python/branches/release25-maint/Modules/mmapmodule.c Tue Aug 22 15:57:07 2006
@@ -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 *
More information about the Python-checkins
mailing list