Kaydet (Commit) 3d6790e4 authored tarafından Mark Dickinson's avatar Mark Dickinson

Silence another MSVC warning about unary minus.

üst b2c3ca1e
......@@ -1117,7 +1117,7 @@ int_to_decimal_string(PyIntObject *v) {
long n = v->ob_ival;
unsigned long absn;
p = bufend = buf + sizeof(buf);
absn = n < 0 ? -(unsigned long)n : n;
absn = n < 0 ? 0UL - n : n;
do {
*--p = '0' + absn % 10;
absn /= 10;
......
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