mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Add cast to avoid compiler warning.
This commit is contained in:
parent
4d895fa125
commit
24e53b6d91
1 changed files with 1 additions and 1 deletions
|
@ -6465,7 +6465,7 @@ PyObject *PyUnicode_Format(PyObject *format,
|
|||
"unsupported format character '%c' (0x%x) "
|
||||
"at index %i",
|
||||
(31<=c && c<=126) ? (char)c : '?',
|
||||
c,
|
||||
(int)c,
|
||||
(int)(fmt -1 - PyUnicode_AS_UNICODE(uformat)));
|
||||
goto onError;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue