commit | 16b1f5e8421b65b89916f143adb992e3164acdf7 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Wed Mar 04 23:01:44 2015 +0200 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Wed Mar 04 23:03:31 2015 +0200 |
tree | a03c0734f7e147f1fa9d4522c8b104f7c5e587a9 | |
parent | 48ef64a72915c6ded71002f95ef97c13e506e5c2 [diff] [blame] |
objarray: Fix typo in null TYPECODE_MASK.
diff --git a/py/objarray.c b/py/objarray.c index e3a59a0..30613fc 100644 --- a/py/objarray.c +++ b/py/objarray.c
@@ -54,7 +54,7 @@ #if MICROPY_PY_BUILTINS_MEMORYVIEW #define TYPECODE_MASK (0x7f) #else -#define TYPECODE_MASK (~(mp_uint_t)1) +#define TYPECODE_MASK (~(mp_uint_t)0) #endif typedef struct _mp_obj_array_t {