diff options
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index a37efca..3b9fd05 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -5712,7 +5712,7 @@ posix_write(PyObject *self, PyObject *args) len = INT_MAX; size = write(fd, pbuf.buf, (int)len); #else - size = write(fd, pbuf.buf, (size_t)len); + size = write(fd, pbuf.buf, len); #endif Py_END_ALLOW_THREADS PyBuffer_Release(&pbuf); |