Commit 34888ed6 authored by Guido van Rossum's avatar Guido van Rossum

Fredrik Lundh: eliminate a MSVC compiler warning.

parent 9e896b37
...@@ -1959,7 +1959,7 @@ int PyUnicode_EncodeDecimal(Py_UNICODE *s, ...@@ -1959,7 +1959,7 @@ int PyUnicode_EncodeDecimal(Py_UNICODE *s,
continue; continue;
} }
if (0 < ch < 256) { if (0 < ch < 256) {
*output++ = ch; *output++ = (char) ch;
continue; continue;
} }
/* All other characters are considered invalid */ /* All other characters are considered invalid */
......
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