summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2002-09-24 09:32:14 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2002-09-24 09:32:14 (GMT)
commit24e53b6d919ccb1c35286701fd39e8eb10a50282 (patch)
tree064051dea2bd4fe18cd2b34a41abdb9c031f912a /Objects/unicodeobject.c
parent4d895fa1258205e01073f0f9c2aba9a57843ae21 (diff)
downloadcpython-24e53b6d919ccb1c35286701fd39e8eb10a50282.zip
cpython-24e53b6d919ccb1c35286701fd39e8eb10a50282.tar.gz
cpython-24e53b6d919ccb1c35286701fd39e8eb10a50282.tar.bz2
Add cast to avoid compiler warning.
Diffstat (limited to 'Objects/unicodeobject.c')
-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;
}