Skip to content

Commit 16b1f5e

Browse files
committed
objarray: Fix typo in null TYPECODE_MASK.
1 parent 48ef64a commit 16b1f5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/objarray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#if MICROPY_PY_BUILTINS_MEMORYVIEW
5555
#define TYPECODE_MASK (0x7f)
5656
#else
57-
#define TYPECODE_MASK (~(mp_uint_t)1)
57+
#define TYPECODE_MASK (~(mp_uint_t)0)
5858
#endif
5959

6060
typedef struct _mp_obj_array_t {

0 commit comments

Comments
 (0)