diff options
Diffstat (limited to 'unix/file.c')
-rw-r--r-- | unix/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/file.c b/unix/file.c index 7f113d6712..751d62fd51 100644 --- a/unix/file.c +++ b/unix/file.c @@ -202,7 +202,7 @@ STATIC mp_obj_t fdfile_open(const mp_obj_type_t *type, mp_arg_val_t *args) { return MP_OBJ_FROM_PTR(o); } -STATIC mp_obj_t fdfile_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) { +STATIC mp_obj_t fdfile_make_new(mp_obj_t type_in, size_t n_args, size_t n_kw, const mp_obj_t *args) { mp_arg_val_t arg_vals[FILE_OPEN_NUM_ARGS]; mp_arg_parse_all_kw_array(n_args, n_kw, args, FILE_OPEN_NUM_ARGS, file_open_args, arg_vals); return fdfile_open(MP_OBJ_TO_PTR(type_in), arg_vals); |