Kaydet (Commit) 08a1d9ca authored tarafından Tim Peters's avatar Tim Peters

Squash compiler wng about signed/unsigned comparison mismatch.

üst 8e0ad0cb
......@@ -287,7 +287,7 @@ _PyLong_NumBits(PyObject *vv)
digit msd = v->ob_digit[ndigits - 1];
result = (ndigits - 1) * SHIFT;
if (result / SHIFT != ndigits - 1)
if (result / SHIFT != (size_t)ndigits - 1)
goto Overflow;
do {
++result;
......
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