summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-03-21 01:35:28 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-03-21 01:35:28 (GMT)
commitef4b7ed42b426e0518221ad48b61208fb2af65da (patch)
tree26edb164fdc95e93525b3a596f4f96dfc8df6854
parente3d1df0646977d9576d4d760facd03285cb015b5 (diff)
downloadcpython-ef4b7ed42b426e0518221ad48b61208fb2af65da.zip
cpython-ef4b7ed42b426e0518221ad48b61208fb2af65da.tar.gz
cpython-ef4b7ed42b426e0518221ad48b61208fb2af65da.tar.bz2
Squash compiler wng about signed-vs-unsigned mismatch.
-rw-r--r--Modules/_csv.c2
1 files changed, 1 insertions, 1 deletions
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,