]> granicus.if.org Git - python/commitdiff
Alexander Belopolsky pointed out that pos is a size_t
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 22 Aug 2006 13:57:07 +0000 (13:57 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 22 Aug 2006 13:57:07 +0000 (13:57 +0000)
Modules/mmapmodule.c

index b8dd02d687662e4fd96d2237fd7e68b96b5c5af1..091ecd6e1c30e82be2e0f4ba6c29e9c92875caf4 100644 (file)
@@ -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 *