[Python-checkins] r76197 - python/branches/py3k/Objects/unicodeobject.c
benjamin.peterson
python-checkins at python.org
Tue Nov 10 22:23:15 CET 2009
Author: benjamin.peterson
Date: Tue Nov 10 22:23:15 2009
New Revision: 76197
Log:
death to compiler warning
Modified:
python/branches/py3k/Objects/unicodeobject.c
Modified: python/branches/py3k/Objects/unicodeobject.c
==============================================================================
--- python/branches/py3k/Objects/unicodeobject.c (original)
+++ python/branches/py3k/Objects/unicodeobject.c Tue Nov 10 22:23:15 2009
@@ -2513,7 +2513,9 @@
*p++ = (char)(0x80 | (ch & 0x3f));
continue;
}
+#ifndef Py_UNICODE_WIDE
encodeUCS4:
+#endif
/* Encode UCS4 Unicode ordinals */
*p++ = (char)(0xf0 | (ch >> 18));
*p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
More information about the Python-checkins
mailing list