summaryrefslogtreecommitdiffstatshomepage
path: root/py/objint_longlong.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-09-06 18:39:39 +0100
committerDamien George <damien.p.george@gmail.com>2014-09-06 18:39:39 +0100
commit33b50a02176bcf4f7114498f9925003808d6e53f (patch)
tree8429efb0fddd5b567a1fc6fbcde421a24471282c /py/objint_longlong.c
parentc7a79284bb13671d8829c68f28c6839fa0b76054 (diff)
parent78fde4819c2e56365947dcfcc686d447c1d75f09 (diff)
downloadmicropython-33b50a02176bcf4f7114498f9925003808d6e53f.tar.gz
micropython-33b50a02176bcf4f7114498f9925003808d6e53f.zip
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'py/objint_longlong.c')
-rw-r--r--py/objint_longlong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objint_longlong.c b/py/objint_longlong.c
index c4c16139fd..43bdcabdce 100644
--- a/py/objint_longlong.c
+++ b/py/objint_longlong.c
@@ -52,7 +52,7 @@
#if MICROPY_PY_SYS_MAXSIZE
// Export value for sys.maxsize
-const mp_obj_int_t mp_maxsize_obj = {{&mp_type_int}, INT_MAX};
+const mp_obj_int_t mp_maxsize_obj = {{&mp_type_int}, MP_SSIZE_MAX};
#endif
mp_int_t mp_obj_int_hash(mp_obj_t self_in) {