Skip to content

Commit c2c4d85

Browse files
committed
[EXPLORER-OLD] Fix build when _DEBUG is defined
1 parent 888540c commit c2c4d85

File tree

1 file changed

+2
-2
lines changed
  • modules/rosapps/applications/explorer-old/shell

1 file changed

+2
-2
lines changed

modules/rosapps/applications/explorer-old/shell/fatfs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void FATDirectory::read_directory(int scan_flags)
141141
s = (const char*)p->Ent->B; // no change of the pointer, just to avoid overung warnings in code checkers
142142

143143
// read long file name
144-
TCHAR lname[] = {s[1], s[3], s[5], s[7], s[9], s[14], s[16], s[18], s[20], s[22], s[24], s[28], s[30]};
144+
char lname[] = {s[1], s[3], s[5], s[7], s[9], s[14], s[16], s[18], s[20], s[22], s[24], s[28], s[30]};
145145

146146
long_name = String(lname, 13) + long_name;
147147
}
@@ -397,7 +397,7 @@ bool FATDirectory::read_dir()
397397
}
398398
}
399399

400-
buf->dat[0] = 0; // Endekennzeichen für Rekurs setzen
400+
buf->dat[0] = 0; // Endekennzeichen für Rekurs setzen
401401
}
402402

403403
return true;

0 commit comments

Comments
 (0)