Message224601
Hmmmm, maybe I am missing some context, but why not avoid the casting and do?
diff --git a/Modules/_io/bytesio.c b/Modules/_io/bytesio.c
--- a/Modules/_io/bytesio.c
+++ b/Modules/_io/bytesio.c
@@ -47,7 +47,7 @@ typedef struct {
* exception and returns -1 on failure. Existing state is preserved on failure.
*/
static int
-unshare(bytesio *self, size_t preferred_size, int truncate)
+unshare(bytesio *self, Py_ssize_t preferred_size, int truncate)
{
if (self->initvalue) {
Py_ssize_t copy_size; |
|
Date |
User |
Action |
Args |
2014-08-03 00:42:13 | meador.inge | set | recipients:
+ meador.inge, pitrou, zach.ware, dw |
2014-08-03 00:42:12 | meador.inge | set | messageid: <1407026532.93.0.893885715978.issue22125@psf.upfronthosting.co.za> |
2014-08-03 00:42:12 | meador.inge | link | issue22125 messages |
2014-08-03 00:42:12 | meador.inge | create | |
|