Squash compiler wng about signed-vs-unsigned mismatch.

This commit is contained in:
Tim Peters 2003-03-21 01:35:28 +00:00
parent e3d1df0646
commit ef4b7ed42b

View File

@ -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,