diff options
author | Alexander Steffen <Alexander.Steffen@infineon.com> | 2017-06-27 17:13:09 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-28 11:45:52 +1000 |
commit | ebb93962741d68e4530cb89d207641c1d663f61f (patch) | |
tree | a1ec74bf281d72a3cf0c51edbdb321b00b5c453a /esp8266/main.c | |
parent | cd0987f5b7ad8b93278b9fbef4fe2f43e5cdc586 (diff) | |
download | micropython-ebb93962741d68e4530cb89d207641c1d663f61f.tar.gz micropython-ebb93962741d68e4530cb89d207641c1d663f61f.zip |
esp8266,minimal,pic16bit: Use size_t for mp_builtin_open argument.
py/builtin.h declares mp_builtin_open with the first argument of type
size_t. Make all implementations conform to this declaration.
Diffstat (limited to 'esp8266/main.c')
-rw-r--r-- | esp8266/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/main.c b/esp8266/main.c index e3188dfe40..43b83759ec 100644 --- a/esp8266/main.c +++ b/esp8266/main.c @@ -122,7 +122,7 @@ mp_import_stat_t mp_import_stat(const char *path) { return MP_IMPORT_STAT_NO_EXIST; } -mp_obj_t mp_builtin_open(uint n_args, const mp_obj_t *args, mp_map_t *kwargs) { +mp_obj_t mp_builtin_open(size_t n_args, const mp_obj_t *args, mp_map_t *kwargs) { return mp_const_none; } MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open); |