commit | ff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Apr 10 15:48:23 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Apr 10 15:48:23 1999 +0000 |
tree | 90e7a99262295be164c5b6bb021da86cf620b27b | |
parent | cbf8906f5de5da29602f9fa7034488d2dca51663 [diff] [blame] |
casts for picky compilers.
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 6d57aea..b0eb332 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c
@@ -512,7 +512,7 @@ if (!PyArg_ParseTuple(args, "|l", &bytesrequested)) return NULL; if (bytesrequested < 0) - buffersize = new_buffersize(f, 0); + buffersize = new_buffersize(f, (size_t)0); else buffersize = bytesrequested; v = PyString_FromStringAndSize((char *)NULL, buffersize);