Update C++ projects to VS2019, fix warnings/errors

This commit is contained in:
elasota
2021-10-22 22:01:14 -04:00
parent 0706640bc9
commit 9ba15c6d78
35 changed files with 99 additions and 97 deletions

View File

@@ -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);