Kaydet (Commit) f271c272 authored tarafından Tim Peters's avatar Tim Peters

Squashed compiler wng from MSVC6.

üst 1ea93f2b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment