[Python-checkins] r72327 - in python/branches/py3k: Objects/unicodeobject.c
georg.brandl
python-checkins at python.org
Tue May 5 11:20:04 CEST 2009
Author: georg.brandl
Date: Tue May 5 11:19:59 2009
New Revision: 72327
Log:
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.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Objects/unicodeobject.c
Modified: python/branches/py3k/Objects/unicodeobject.c
==============================================================================
--- python/branches/py3k/Objects/unicodeobject.c (original)
+++ python/branches/py3k/Objects/unicodeobject.c Tue May 5 11:19:59 2009
@@ -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;
More information about the Python-checkins
mailing list