]> granicus.if.org Git - python/commit
Issue #24999: In longobject.c, use two shifts instead of ">> 2*PyLong_SHIFT" to
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 19 Sep 2015 11:39:03 +0000 (13:39 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 19 Sep 2015 11:39:03 +0000 (13:39 +0200)
commit5783fd2c58d068329c1ddeaea1db8acca5e2577b
treef513a553276d235ccae873fefe5369879be8d1b8
parentf2d7ea1af124aa80df7ec3071a62442294f9196c
Issue #24999: In longobject.c, use two shifts instead of ">> 2*PyLong_SHIFT" to
avoid undefined behaviour when LONG_MAX type is smaller than 60 bits.

This change should fix a warning with the ICC compiler.
Objects/longobject.c