diff options
| author | Damien George <damien@micropython.org> | 2023-03-07 14:46:22 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-03-07 14:47:21 +1100 |
| commit | 32572439984e5640c6af46fbe7c27400c30112ce (patch) | |
| tree | 846bfc1c9602b8296dc0cae17349418a67be3e66 | |
| parent | 7a817a3481eeb53276ac0cc9abdc51cb339ce7a9 (diff) | |
mpy-cross/main: Fix return type of mp_import_stat.
Fixes issue #10951.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | mpy-cross/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpy-cross/main.c b/mpy-cross/main.c index 13bb17b13..8a4dd5bcb 100644 --- a/mpy-cross/main.c +++ b/mpy-cross/main.c @@ -344,7 +344,7 @@ int main(int argc, char **argv) { return main_(argc, argv); } -uint mp_import_stat(const char *path) { +mp_import_stat_t mp_import_stat(const char *path) { (void)path; return MP_IMPORT_STAT_NO_EXIST; } |
