Aug. 22, 2006
7:56 p.m.
Author: neal.norwitz Date: Tue Aug 22 15:56:56 2006 New Revision: 51473 Modified: python/trunk/Modules/mmapmodule.c Log: Alexander Belopolsky pointed out that pos is a size_t Modified: python/trunk/Modules/mmapmodule.c ============================================================================== --- python/trunk/Modules/mmapmodule.c (original) +++ python/trunk/Modules/mmapmodule.c Tue Aug 22 15:56:56 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 *