Skip to content

Commit

Permalink
mpy-cross/main: Fix return type of mp_import_stat.
Browse files Browse the repository at this point in the history
Fixes issue micropython#10951.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge authored and matejcik committed Jul 9, 2024
1 parent 0dff05a commit d2d9706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpy-cross/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,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;
}
Expand Down

0 comments on commit d2d9706

Please sign in to comment.