mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Silence MSVC compiler warnings.
This commit is contained in:
parent
0cfef2c3a4
commit
40ee861c0a
1 changed files with 3 additions and 2 deletions
|
|
@ -1413,8 +1413,9 @@ long_to_decimal_string(PyObject *aa, int addL)
|
|||
digit hi = pin[i];
|
||||
for (j = 0; j < size; j++) {
|
||||
twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
|
||||
hi = z / _PyLong_DECIMAL_BASE;
|
||||
pout[j] = z - (twodigits)hi * _PyLong_DECIMAL_BASE;
|
||||
hi = (digit)(z / _PyLong_DECIMAL_BASE);
|
||||
pout[j] = (digit)(z - (twodigits)hi *
|
||||
_PyLong_DECIMAL_BASE);
|
||||
}
|
||||
while (hi) {
|
||||
pout[size++] = hi % _PyLong_DECIMAL_BASE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue