Skip to content

Commit d82d5a1

Browse files
committed
build(core): fix build for GCC13
we need to cherry-pick two commits into the micropython submodule, and adapt one of the fixes
1 parent 25cb005 commit d82d5a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/embed/unix/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,9 @@ MP_NOINLINE int main_(int argc, char **argv) {
682682
#if !MICROPY_VFS
683683

684684
#ifdef TREZOR_EMULATOR_FROZEN
685-
uint mp_import_stat(const char *path) { return MP_IMPORT_STAT_NO_EXIST; }
685+
mp_import_stat_t mp_import_stat(const char *path) { return MP_IMPORT_STAT_NO_EXIST; }
686686
#else
687-
uint mp_import_stat(const char *path) {
687+
mp_import_stat_t mp_import_stat(const char *path) {
688688
struct stat st;
689689
if (stat(path, &st) == 0) {
690690
if (S_ISDIR(st.st_mode)) {

0 commit comments

Comments
 (0)