diff options
author | Georg Brandl <georg@python.org> | 2009-05-05 09:19:59 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-05 09:19:59 (GMT) |
commit | 780b2a615388e6885d81f926cbc2f21eb3484ef2 (patch) | |
tree | 113d91d4d71bd73b4151405aaf7b1280307dd47b /Objects | |
parent | 3078df0a2535d508aaaa0a556d777dd0acbcd629 (diff) | |
download | cpython-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.c | 2 |
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; |