Commit 30583e3f authored by Raymond Hettinger's avatar Raymond Hettinger

Silence a compiler warning.

parent ba097ec1
...@@ -1150,7 +1150,7 @@ int_to_decimal_string(PyIntObject *v) { ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment