mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Update C++ projects to VS2019, fix warnings/errors
This commit is contained in:
@@ -161,7 +161,7 @@ ArchiveItemList *StuffItParser::Parse(IFileReader &reader)
|
||||
|
||||
const uint8_t fileNameLength = header[SITFH_FNAMESIZE];
|
||||
if (fileNameLength > SITFH_FNAME_CRC - SITFH_FNAME)
|
||||
return false;
|
||||
return nullptr;
|
||||
|
||||
std::vector<uint8_t> utf8FileName;
|
||||
StringCommon::ConvertMacRomanFileName(utf8FileName, header + SITFH_FNAME, fileNameLength);
|
||||
|
||||
Reference in New Issue
Block a user