diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-02-10 14:48:29 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-02-10 14:48:29 +0000 |
commit | 2c646c9fc1964603adcc7687016de76effc66a55 (patch) | |
tree | 81c304751905de06722355cc23e967574fb906f4 /Python | |
parent | 26bf3acf42578c1d7798638f425d4d35b4cd807e (diff) | |
download | cpython-git-2c646c9fc1964603adcc7687016de76effc66a55.tar.gz |
Squashed compiler wng about signed/unsigned clash in comparison.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 19af6f7873..b9aa85cdcf 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -362,7 +362,7 @@ builtin_compile(PyObject *self, PyObject *args) #endif if (PyObject_AsReadBuffer(cmd, (const void **)&str, &length)) return NULL; - if (length != strlen(str)) { + if ((size_t)length != strlen(str)) { PyErr_SetString(PyExc_TypeError, "expected string without null bytes"); return NULL; |