diff options
author | Damien George <damien.p.george@gmail.com> | 2017-08-30 10:59:58 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-08-30 10:59:58 +1000 |
commit | 71c9cfb028d423bf4760d66b1afe8951335fa5da (patch) | |
tree | 83ce8ec7270f759f73911f5b45bede989872a9b5 /esp8266/modutime.c | |
parent | 784909ce1655bf8b2a97ac81a3842e844992082f (diff) |
all: Convert remaining "mp_uint_t n_args" to "size_t n_args".
This is to have consistency across the whole repository.
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) { |