Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d526c7c

Browse files
author
Victor Stinner
committed
Merged revisions 76197 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r76197 | benjamin.peterson | 2009-11-10 22:23:15 +0100 (mar., 10 nov. 2009) | 1 line death to compiler warning ........
1 parent f9d1cf1 commit d526c7c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Objects/unicodeobject.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2513,7 +2513,9 @@ PyUnicode_EncodeUTF8(const Py_UNICODE *s,
25132513
*p++ = (char)(0x80 | (ch & 0x3f));
25142514
continue;
25152515
}
2516+
#ifndef Py_UNICODE_WIDE
25162517
encodeUCS4:
2518+
#endif
25172519
/* Encode UCS4 Unicode ordinals */
25182520
*p++ = (char)(0xf0 | (ch >> 18));
25192521
*p++ = (char)(0x80 | ((ch >> 12) & 0x3f));

0 commit comments

Comments
 (0)