summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-12-30 22:44:03 +0000
committerTim Peters <tim.peters@gmail.com>2002-12-30 22:44:03 +0000
commitf271c272a2a98081b787dcd40a973b641fe14ca4 (patch)
treed63820bc9d30391bdf0a47438ed9f20a107b9221
parent1ea93f2b1d0a165b5f9306c7cb351c595712199e (diff)
downloadcpython-git-f271c272a2a98081b787dcd40a973b641fe14ca4.tar.gz
Squashed compiler wng from MSVC6.
-rw-r--r--Modules/zipimport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index ec5a529e3e..863ce42069 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -412,7 +412,7 @@ zipimporter_get_data(PyObject *obj, PyObject *args)
path = buf;
#endif
len = PyString_Size(self->archive);
- if (len < strlen(path) &&
+ if ((size_t)len < strlen(path) &&
strncmp(path, PyString_AsString(self->archive), len) == 0 &&
path[len] == SEP) {
path = path + len + 1;