diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-04-07 03:22:07 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-04-07 03:22:07 (GMT) |
commit | 5a6f4585fdc52959bcc0dfdb9d25f2d34f983300 (patch) | |
tree | 889d39a1f6556e8aab23628d036b60e53cb1ab51 /Objects/unicodeobject.c | |
parent | d218dc15e6b75d07450e4388c32e39c5741718bf (diff) | |
download | cpython-5a6f4585fdc52959bcc0dfdb9d25f2d34f983300.zip cpython-5a6f4585fdc52959bcc0dfdb9d25f2d34f983300.tar.gz cpython-5a6f4585fdc52959bcc0dfdb9d25f2d34f983300.tar.bz2 |
Merged revisions 62199 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r62199 | martin.v.loewis | 2008-04-07 05:08:28 +0200 (Mo, 07 Apr 2008) | 2 lines
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 29ca08c..fe49ec8 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -8895,7 +8895,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) |