Squashed compiler wng from MSVC6.
authorTim Peters <tim.peters@gmail.com>
Mon, 30 Dec 2002 22:44:03 +0000 (22:44 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 30 Dec 2002 22:44:03 +0000 (22:44 +0000)
Modules/zipimport.c

index ec5a529e3e22c924fb5bdb563937f97ba069e223..863ce42069f5be8ad8303ecc81372116682990af 100644 (file)
@@ -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;