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. ........
This commit is contained in:
parent
3078df0a25
commit
780b2a6153
@ -791,7 +791,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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user