Merged revisions 76197 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76197 | benjamin.peterson | 2009-11-10 22:23:15 +0100 (mar., 10 nov. 2009) | 1 line

  death to compiler warning
........
This commit is contained in:
Victor Stinner 2010-03-23 11:43:20 +00:00
parent f9d1cf17cd
commit d526c7cc1c
1 changed files with 2 additions and 0 deletions

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));