diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-04-07 03:08:28 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-04-07 03:08:28 +0000 |
commit | d918e4e068f22c3e79c771c27be3c8f91a9e0446 (patch) | |
tree | 5e5c2f72880c5a520db3b2a5b22635ba42983716 /Objects/unicodeobject.c | |
parent | 295814e4634b7130dc0c58bc1a9d91c14cbe804a (diff) | |
download | cpython-git-d918e4e068f22c3e79c771c27be3c8f91a9e0446.tar.gz |
Bug #2388: Fix gcc warnings when compiling with --enable-unicode=ucs4.
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 c5acd1b43c..75ad9f0832 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -8644,7 +8644,7 @@ PyObject *PyUnicode_Format(PyObject *format, if (!isnumok) { PyErr_Format(PyExc_TypeError, "%%%c format: a number is required, " - "not %.200s", c, Py_TYPE(v)->tp_name); + "not %.200s", (char)c, Py_TYPE(v)->tp_name); goto onError; } if (flags & F_ZERO) |