Commit fd2b728f authored by Raymond Hettinger's avatar Raymond Hettinger

Silence a compiler warning.

parent 66e461bb
......@@ -547,7 +547,7 @@ fileio_readall(PyFileIOObject *self)
return NULL;
}
if (PyBytes_GET_SIZE(result) < newsize) {
if (PyBytes_GET_SIZE(result) < (Py_ssize_t)newsize) {
if (_PyBytes_Resize(&result, newsize) < 0) {
if (total == 0) {
Py_DECREF(result);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment