diff options
author | Guido van Rossum <guido@python.org> | 1999-04-10 15:48:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-10 15:48:23 (GMT) |
commit | ff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef (patch) | |
tree | 90e7a99262295be164c5b6bb021da86cf620b27b /Objects | |
parent | cbf8906f5de5da29602f9fa7034488d2dca51663 (diff) | |
download | cpython-ff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef.zip cpython-ff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef.tar.gz cpython-ff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef.tar.bz2 |
casts for picky compilers.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ file_read(f, args) 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); |