mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Silence a compiler warning.
This commit is contained in:
parent
ba097ec1be
commit
30583e3f38
1 changed files with 1 additions and 1 deletions
|
|
@ -1150,7 +1150,7 @@ int_to_decimal_string(PyIntObject *v) {
|
||||||
p = bufend = buf + sizeof(buf);
|
p = bufend = buf + sizeof(buf);
|
||||||
absn = n < 0 ? 0UL - n : n;
|
absn = n < 0 ? 0UL - n : n;
|
||||||
do {
|
do {
|
||||||
*--p = '0' + absn % 10;
|
*--p = '0' + (char)(absn % 10);
|
||||||
absn /= 10;
|
absn /= 10;
|
||||||
} while (absn);
|
} while (absn);
|
||||||
if (n < 0)
|
if (n < 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue