summaryrefslogtreecommitdiffstats
path: root/Modules/zipimport.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-12-30 22:44:03 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-12-30 22:44:03 (GMT)
commitf271c272a2a98081b787dcd40a973b641fe14ca4 (patch)
treed63820bc9d30391bdf0a47438ed9f20a107b9221 /Modules/zipimport.c
parent1ea93f2b1d0a165b5f9306c7cb351c595712199e (diff)
downloadcpython-f271c272a2a98081b787dcd40a973b641fe14ca4.zip
cpython-f271c272a2a98081b787dcd40a973b641fe14ca4.tar.gz
cpython-f271c272a2a98081b787dcd40a973b641fe14ca4.tar.bz2
Squashed compiler wng from MSVC6.
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r--Modules/zipimport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index ec5a529..863ce42 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;