summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 7f4c312..eb8ee61 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -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;
}