diff options
author | Marc-André Lemburg <mal@egenix.com> | 2002-09-24 09:32:14 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2002-09-24 09:32:14 (GMT) |
commit | 24e53b6d919ccb1c35286701fd39e8eb10a50282 (patch) | |
tree | 064051dea2bd4fe18cd2b34a41abdb9c031f912a /Objects/unicodeobject.c | |
parent | 4d895fa1258205e01073f0f9c2aba9a57843ae21 (diff) | |
download | cpython-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.c | 2 |
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; } |