Mercurial > cpython-lru_cache-weakref
diff Objects/longobject.c @ 51053:45a5276e5dcc 3.0
Merged revisions 68949 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r68949 | mark.dickinson | 2009-01-25 22:25:06 +0000 (Sun, 25 Jan 2009) | 10 lines
Merged revisions 68947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68947 | mark.dickinson | 2009-01-25 22:12:31 +0000 (Sun, 25 Jan 2009) | 3 lines
No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
This change should silence a compiler warning on Windows.
........
................
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sun, 25 Jan 2009 22:26:28 +0000 |
| parents | 843c17868b52 |
| children | c23e40d1abbc |
line wrap: on
line diff
--- a/Objects/longobject.c Sun Jan 25 19:32:09 2009 +0000 +++ b/Objects/longobject.c Sun Jan 25 22:26:28 2009 +0000 @@ -776,7 +776,7 @@ 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 */
