Issue #4393: fix 3 classes of potential portability problems in longobject.c:
commit462b5279143c2813b4406a9f9f46b1570bfc1f1d
authormark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 24 Jan 2009 15:27:44 +0000 (24 15:27 +0000)
committermark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 24 Jan 2009 15:27:44 +0000 (24 15:27 +0000)
treeb7b1316bb7dda24cee67b559002e6a7e9ac1c503
parent77060fa0cb82dd466b88434882b4a123574d0a55
Issue #4393: fix 3 classes of potential portability problems in longobject.c:
 - fix some places where counters into ob_digit were declared as
   int instead of Py_ssize_t
 - add (twodigit) casts where necessary
 - fix code in _PyLong_AsByteArray that uses << on negative values

git-svn-id: http://svn.python.org/projects/python/trunk@68890 6015fed2-1504-0410-9fe1-9d1591cc4771
Objects/longobject.c