commit | 723447958070683deb3ff32d793c4bb731d325b7 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jan 11 00:04:12 2011 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jan 11 00:04:12 2011 +0000 |
tree | d26844c92d122b436684d955b5e8f969e4f39c6e | |
parent | 51e2107b817f10d6af66a3e07fc7d57eabae9d36 [diff] [blame] |
Issue #9611: remove useless and dangerous explicit conversion to size_t
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 @@ 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);