summaryrefslogtreecommitdiffstatshomepage
path: root/py/objfun.c
diff options
context:
space:
mode:
authorstijn <stinos@zoho.com>2014-10-30 14:39:22 +0100
committerDamien George <damien.p.george@gmail.com>2014-10-30 23:00:24 +0000
commit0e557facb93425e791a23a6695b202e467a60026 (patch)
tree676380dea63edff840b6f6345466394478171255 /py/objfun.c
parente62a0fe36776f039149e7fab77323aa380b97c2e (diff)
downloadmicropython-0e557facb93425e791a23a6695b202e467a60026.tar.gz
micropython-0e557facb93425e791a23a6695b202e467a60026.zip
mpz: Fix 64bit msvc build
msvc does not treat 1L a 64bit integer hence all occurences of shifting it left or right result in undefined behaviour since the maximum allowed shift count for 32bit ints is 31. Forcing the correct type explicitely, stored in MPZ_LONG_1, solves this.
Diffstat (limited to 'py/objfun.c')
0 files changed, 0 insertions, 0 deletions