Silence last compilation warning.

This commit is contained in:
Amaury Forgeot d'Arc 2012-01-23 23:20:43 +01:00
parent cd27df3a99
commit 6d766fc3fa
1 changed files with 1 additions and 1 deletions

View File

@ -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