Kaydet (Commit) d526c7cc authored tarafından Victor Stinner's avatar Victor Stinner

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
........
üst f9d1cf17
...@@ -2513,7 +2513,9 @@ PyUnicode_EncodeUTF8(const Py_UNICODE *s, ...@@ -2513,7 +2513,9 @@ PyUnicode_EncodeUTF8(const Py_UNICODE *s,
*p++ = (char)(0x80 | (ch & 0x3f)); *p++ = (char)(0x80 | (ch & 0x3f));
continue; continue;
} }
#ifndef Py_UNICODE_WIDE
encodeUCS4: encodeUCS4:
#endif
/* Encode UCS4 Unicode ordinals */ /* Encode UCS4 Unicode ordinals */
*p++ = (char)(0xf0 | (ch >> 18)); *p++ = (char)(0xf0 | (ch >> 18));
*p++ = (char)(0x80 | ((ch >> 12) & 0x3f)); *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment