From ba68a99656869bfaa4708c5d7b46cb60ca83f37a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 5 May 2009 09:19:43 +0000 Subject: [PATCH] #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 ec68f3ed3a1..32836433007 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;