Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 46059:c92300930772 legacy-trunk
Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds.
All buildbots compile with UCS2...
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> |
|---|---|
| date | Mon, 24 Mar 2008 21:04:10 +0000 |
| parents | 8710ba7fba2b |
| children | 09adff3d6691 |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Mon Mar 24 19:58:17 2008 +0000 +++ b/Objects/unicodeobject.c Mon Mar 24 21:04:10 2008 +0000 @@ -3095,7 +3095,7 @@ /* 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);
