Kaydet (Commit) 47019e50 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix (harmless) warning with MSVC.

üst 9b491923
......@@ -417,7 +417,7 @@ _Py_bytes_maketrans(PyObject *args)
}
p = PyBytes_AS_STRING(res);
for (i = 0; i < 256; i++)
p[i] = i;
p[i] = (char) i;
for (i = 0; i < bfrm.len; i++) {
p[((unsigned char *)bfrm.buf)[i]] = ((char *)bto.buf)[i];
}
......
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