diff options
author | Georg Brandl <georg@python.org> | 2009-05-05 09:19:43 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-05 09:19:43 (GMT) |
commit | ba68a99656869bfaa4708c5d7b46cb60ca83f37a (patch) | |
tree | e8bb44f0723c2fabd8d9c342cfbcd3ac72072e64 /Objects/unicodeobject.c | |
parent | 5815220a681a8ce636fc52ffe38cdf10fb658194 (diff) | |
download | cpython-ba68a99656869bfaa4708c5d7b46cb60ca83f37a.zip cpython-ba68a99656869bfaa4708c5d7b46cb60ca83f37a.tar.gz cpython-ba68a99656869bfaa4708c5d7b46cb60ca83f37a.tar.bz2 |
#5929: fix signedness warning.
Diffstat (limited to 'Objects/unicodeobject.c')
-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 ec68f3e..3283643 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -741,7 +741,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; |