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);
|
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…
Reference in New Issue