mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue