summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-05 09:19:59 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-05 09:19:59 (GMT)
commit780b2a615388e6885d81f926cbc2f21eb3484ef2 (patch)
tree113d91d4d71bd73b4151405aaf7b1280307dd47b /Objects
parent3078df0a2535d508aaaa0a556d777dd0acbcd629 (diff)
downloadcpython-780b2a615388e6885d81f926cbc2f21eb3484ef2.zip
cpython-780b2a615388e6885d81f926cbc2f21eb3484ef2.tar.gz
cpython-780b2a615388e6885d81f926cbc2f21eb3484ef2.tar.bz2
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. ........
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 218e70b..fc5c1c5 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -791,7 +791,7 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
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;