From: Georg Brandl Date: Tue, 5 May 2009 09:19:59 +0000 (+0000) Subject: Merged revisions 72326 via svnmerge from X-Git-Tag: v3.1b1~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=780b2a615388e6885d81f926cbc2f21eb3484ef2;p=thirdparty%2FPython%2Fcpython.git 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. ........ --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 218e70b0938d..fc5c1c536ed9 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;