From ef4b7ed42b426e0518221ad48b61208fb2af65da Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Fri, 21 Mar 2003 01:35:28 +0000 Subject: Squash compiler wng about signed-vs-unsigned mismatch. --- Modules/_csv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_csv.c b/Modules/_csv.c index 701904a..7a3bfc4 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, -- cgit v0.12