Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 53781:33bbdd3eea43
Merged revisions 72326 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72326 | georg.brandl | 2009-05-05 11:19:43 +0200 (Di, 05 Mai 2009) | 1 line
#5929: fix signedness warning.
........
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Tue, 05 May 2009 09:19:59 +0000 |
| parents | ac209f132b17 |
| children | 911df82bc25d |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Tue May 05 09:11:31 2009 +0000 +++ b/Objects/unicodeobject.c Tue May 05 09:19:59 2009 +0000 @@ -791,7 +791,7 @@ case 's': { /* UTF-8 */ - unsigned char *s = va_arg(count, unsigned char*); + const char *s = va_arg(count, const char*); PyObject *str = PyUnicode_DecodeUTF8(s, strlen(s), "replace"); if (!str) goto fail;
