diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2012-01-23 22:20:43 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2012-01-23 22:20:43 (GMT) |
commit | 6d766fc3facd08615cd3cfe5699e864f196941b5 (patch) | |
tree | 10c7d48469c6e4b58a49770f85df429d8ef412da /Python | |
parent | cd27df3a9923c8c05b57f3f2a142cafd978220a2 (diff) | |
download | cpython-6d766fc3facd08615cd3cfe5699e864f196941b5.zip cpython-6d766fc3facd08615cd3cfe5699e864f196941b5.tar.gz cpython-6d766fc3facd08615cd3cfe5699e864f196941b5.tar.bz2 |
Silence last compilation warning.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/formatter_unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c index db8c27c..eee9913 100644 --- a/Python/formatter_unicode.c +++ b/Python/formatter_unicode.c @@ -798,7 +798,7 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format, tmp = PyUnicode_FromOrdinal(x); inumeric_chars = 0; n_digits = 1; - maxchar = Py_MAX(maxchar, x); + maxchar = Py_MAX(maxchar, (Py_UCS4)x); /* As a sort-of hack, we tell calc_number_widths that we only have "remainder" characters. calc_number_widths thinks |