Commit 24e53b6d authored by Marc-André Lemburg's avatar Marc-André Lemburg

Add cast to avoid compiler warning.

parent 4d895fa1
...@@ -6465,7 +6465,7 @@ PyObject *PyUnicode_Format(PyObject *format, ...@@ -6465,7 +6465,7 @@ PyObject *PyUnicode_Format(PyObject *format,
"unsupported format character '%c' (0x%x) " "unsupported format character '%c' (0x%x) "
"at index %i", "at index %i",
(31<=c && c<=126) ? (char)c : '?', (31<=c && c<=126) ? (char)c : '?',
c, (int)c,
(int)(fmt -1 - PyUnicode_AS_UNICODE(uformat))); (int)(fmt -1 - PyUnicode_AS_UNICODE(uformat)));
goto onError; goto onError;
} }
......
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