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 /pic16bit/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 'pic16bit/main.c')
-rw-r--r-- | pic16bit/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pic16bit/main.c b/pic16bit/main.c index 7de790069b..343fe86d05 100644 --- a/pic16bit/main.c +++ b/pic16bit/main.c @@ -106,7 +106,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); |