eliminats warnings del codi original tocant lo menos posible
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user