eliminats warnings del codi original tocant lo menos posible

This commit is contained in:
2026-04-05 10:10:48 +02:00
parent 75b6b6fac7
commit d598d4fc58
2 changed files with 4 additions and 1 deletions

View File

@@ -76,7 +76,7 @@ bool file_getdictionary() {
fi.read((char*)&file_size, 4);
uint8_t path_size;
fi.read((char*)&path_size, 1);
char file_name[path_size + 1];
char file_name[256];
fi.read(file_name, path_size);
file_name[path_size] = 0;
std::string filename = file_name;