death to compiler warning

This commit is contained in:
Benjamin Peterson 2009-11-10 21:23:15 +00:00
parent 074e5ed974
commit adf6a6c842

View file

@ -2513,7 +2513,9 @@ PyUnicode_EncodeUTF8(const Py_UNICODE *s,
*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));