Commit ba68a996 authored by Georg Brandl's avatar Georg Brandl

#5929: fix signedness warning.

parent 5815220a
...@@ -741,7 +741,7 @@ PyUnicode_FromFormatV(const char *format, va_list vargs) ...@@ -741,7 +741,7 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
case 's': case 's':
{ {
/* UTF-8 */ /* 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"); PyObject *str = PyUnicode_DecodeUTF8(s, strlen(s), "replace");
if (!str) if (!str)
goto fail; goto fail;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment