diff options
author | Guido van Rossum <guido@python.org> | 1998-04-10 21:52:06 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-10 21:52:06 (GMT) |
commit | 39b0f8976caeb81e475454424f2a8d6e39609f52 (patch) | |
tree | 6ce7a1c3f4e4f236ef5ed6cb2d9d1dce38eef918 /Python/import.c | |
parent | 462a5495fb3e2df2163d38dfc27615004aada942 (diff) | |
download | cpython-39b0f8976caeb81e475454424f2a8d6e39609f52.zip cpython-39b0f8976caeb81e475454424f2a8d6e39609f52.tar.gz cpython-39b0f8976caeb81e475454424f2a8d6e39609f52.tar.bz2 |
Address warnings issued by the MSVC++ compiler
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index 6ab1371..c9cc9de 100644 --- a/Python/import.c +++ b/Python/import.c @@ -858,7 +858,7 @@ find_module(name, path, buf, buflen, p_fp) } else if (PyString_Check(path)) { /* Submodule of frozen package */ - if (PyString_Size(path) + 1 + strlen(name) >= buflen) { + if (PyString_Size(path) + 1 + strlen(name) >= (unsigned int)buflen) { PyErr_SetString(PyExc_ImportError, "full frozen module name too long"); return NULL; |