summaryrefslogtreecommitdiffstatshomepage
path: root/unix/modsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/modsocket.c')
-rw-r--r--unix/modsocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/modsocket.c b/unix/modsocket.c
index b1a34a39b8..8c5c9706c6 100644
--- a/unix/modsocket.c
+++ b/unix/modsocket.c
@@ -436,8 +436,8 @@ STATIC const mp_obj_dict_t mp_module_socket_globals = {
.map = {
.all_keys_are_qstrs = 1,
.table_is_fixed_array = 1,
- .used = ARRAY_SIZE(mp_module_socket_globals_table),
- .alloc = ARRAY_SIZE(mp_module_socket_globals_table),
+ .used = MP_ARRAY_SIZE(mp_module_socket_globals_table),
+ .alloc = MP_ARRAY_SIZE(mp_module_socket_globals_table),
.table = (mp_map_elem_t*)mp_module_socket_globals_table,
},
};