From 16b1f5e8421b65b89916f143adb992e3164acdf7 Mon Sep 17 00:00:00 2001
From: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Wed, 4 Mar 2015 23:01:44 +0200
Subject: [PATCH] objarray: Fix typo in null TYPECODE_MASK.

---
 py/objarray.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/py/objarray.c b/py/objarray.c
index e3a59a0f8..30613fcb6 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 {
-- 
GitLab