From: Tim Peters Date: Fri, 21 Mar 2003 01:35:28 +0000 (+0000) Subject: Squash compiler wng about signed-vs-unsigned mismatch. X-Git-Tag: v2.3c1~1418 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef4b7ed42b426e0518221ad48b61208fb2af65da;p=thirdparty%2FPython%2Fcpython.git Squash compiler wng about signed-vs-unsigned mismatch. --- diff --git a/Modules/_csv.c b/Modules/_csv.c index 701904a06e77..7a3bfc450248 100644 --- a/Modules/_csv.c +++ b/Modules/_csv.c @@ -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,