diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 4df9fd8f06ae..68df57d8b8ca 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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);