mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
This change should silence a compiler warning on Windows.
This commit is contained in:
parent
7c28be8df5
commit
1afe6ddd07
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ _PyLong_AsByteArray(PyLongObject* v,
|
|||
twodigits accum; /* sliding register */
|
||||
unsigned int accumbits; /* # bits in accum */
|
||||
int do_twos_comp; /* store 2's-comp? is_signed and v < 0 */
|
||||
twodigits carry; /* for computing 2's-comp */
|
||||
digit carry; /* for computing 2's-comp */
|
||||
size_t j; /* # bytes filled */
|
||||
unsigned char* p; /* pointer to next byte in bytes */
|
||||
int pincr; /* direction to move p */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue