From 780b2a615388e6885d81f926cbc2f21eb3484ef2 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 5 May 2009 09:19:59 +0000 Subject: 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. ........ --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12