diff options
Diffstat (limited to 'py/objint.c')
-rw-r--r-- | py/objint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objint.c b/py/objint.c index cf51b7870a..9cd5ebae29 100644 --- a/py/objint.c +++ b/py/objint.c @@ -31,8 +31,8 @@ static mp_obj_t int_make_new(mp_obj_t type_in, int n_args, const mp_obj_t *args) } const mp_obj_type_t int_type = { - .base = { &mp_const_type }, - .name = "int", + { &mp_const_type }, + "int", .make_new = int_make_new, }; |