mirror of https://github.com/python/cpython
Silence a compiler warning.
This commit is contained in:
parent
ba097ec1be
commit
30583e3f38
|
@ -1150,7 +1150,7 @@ int_to_decimal_string(PyIntObject *v) {
|
|||
p = bufend = buf + sizeof(buf);
|
||||
absn = n < 0 ? 0UL - n : n;
|
||||
do {
|
||||
*--p = '0' + absn % 10;
|
||||
*--p = '0' + (char)(absn % 10);
|
||||
absn /= 10;
|
||||
} while (absn);
|
||||
if (n < 0)
|
||||
|
|
Loading…
Reference in New Issue