mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Squash compiler wng about signed/unsigned comparison mismatch.
This commit is contained in:
parent
8e0ad0cb0b
commit
08a1d9cafc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue