Kaydet (Commit) fac02fae authored tarafından Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds.

All buildbots compile with UCS2...
üst a113bd9f
......@@ -3095,7 +3095,7 @@ PyObject *PyUnicode_DecodeRawUnicodeEscape(const char *s,
/* UCS-4 character. Either store directly, or as
surrogate pair. */
#ifdef Py_UNICODE_WIDE
*p++ = (Py_UNIC0DE) x;
*p++ = (Py_UNICODE) x;
#else
x -= 0x10000L;
*p++ = 0xD800 + (Py_UNICODE) (x >> 10);
......
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