mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Squash compiler wng about signed-vs-unsigned mismatch.
This commit is contained in:
parent
e3d1df0646
commit
ef4b7ed42b
@ -647,7 +647,7 @@ Reader_iternext(ReaderObj *self)
|
||||
Py_DECREF(lineobj);
|
||||
return NULL;
|
||||
}
|
||||
if (strlen(line) < PyString_GET_SIZE(lineobj)) {
|
||||
if (strlen(line) < (size_t)PyString_GET_SIZE(lineobj)) {
|
||||
self->had_parse_error = 1;
|
||||
Py_DECREF(lineobj);
|
||||
return PyErr_Format(error_obj,
|
||||
|
Loading…
Reference in New Issue
Block a user