diff options
Diffstat (limited to 'esp8266/modutime.c')
-rw-r--r-- | esp8266/modutime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/modutime.c b/esp8266/modutime.c index afb14dfd6..77dbcfa1f 100644 --- a/esp8266/modutime.c +++ b/esp8266/modutime.c @@ -56,7 +56,7 @@ /// second is 0-59 /// weekday is 0-6 for Mon-Sun. /// yearday is 1-366 -STATIC mp_obj_t time_localtime(mp_uint_t n_args, const mp_obj_t *args) { +STATIC mp_obj_t time_localtime(size_t n_args, const mp_obj_t *args) { timeutils_struct_time_t tm; mp_int_t seconds; if (n_args == 0 || args[0] == mp_const_none) { |