]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #4393: fix 3 classes of potential portability problems in longobject.c:
authorMark Dickinson <dickinsm@gmail.com>
Sat, 24 Jan 2009 15:27:44 +0000 (15:27 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 24 Jan 2009 15:27:44 +0000 (15:27 +0000)
commitff84aa87b43ca0688d2bcd8003b28e0b75c15a90
treeb290288c71c218ab2d61af8406840f9d61159471
parent0dfcfc8b59610422def8ec49d2319ec51380e9fa
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
Objects/longobject.c