diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-03-21 01:35:28 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-03-21 01:35:28 (GMT) |
commit | ef4b7ed42b426e0518221ad48b61208fb2af65da (patch) | |
tree | 26edb164fdc95e93525b3a596f4f96dfc8df6854 /Modules/_csv.c | |
parent | e3d1df0646977d9576d4d760facd03285cb015b5 (diff) | |
download | cpython-ef4b7ed42b426e0518221ad48b61208fb2af65da.zip cpython-ef4b7ed42b426e0518221ad48b61208fb2af65da.tar.gz cpython-ef4b7ed42b426e0518221ad48b61208fb2af65da.tar.bz2 |
Squash compiler wng about signed-vs-unsigned mismatch.
Diffstat (limited to 'Modules/_csv.c')
-rw-r--r-- | Modules/_csv.c | 2 |
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, |