[Python-checkins] r61853 - python/trunk/Objects/unicodeobject.c
amaury.forgeotdarc
python-checkins at python.org
Mon Mar 24 22:04:10 CET 2008
Author: amaury.forgeotdarc
Date: Mon Mar 24 22:04:10 2008
New Revision: 61853
Modified:
python/trunk/Objects/unicodeobject.c
Log:
Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds.
All buildbots compile with UCS2...
Modified: python/trunk/Objects/unicodeobject.c
==============================================================================
--- python/trunk/Objects/unicodeobject.c (original)
+++ python/trunk/Objects/unicodeobject.c Mon Mar 24 22:04:10 2008
@@ -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);
More information about the Python-checkins
mailing list