mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
Fix compilation with ICC
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
return name;
|
||||
}
|
||||
|
||||
const uint64 GetFileSize(size_t index) const override
|
||||
uint64 GetFileSize(size_t index) const override
|
||||
{
|
||||
zip_stat_t zipFileStat;
|
||||
if (zip_stat_index(_zip, index, 0, &zipFileStat) == ZIP_ER_OK)
|
||||
|
||||
@@ -27,7 +27,7 @@ interface IZipArchive
|
||||
|
||||
virtual size_t GetNumFiles() const abstract;
|
||||
virtual const utf8 * GetFileName(size_t index) const abstract;
|
||||
virtual const uint64 GetFileSize(size_t index) const abstract;
|
||||
virtual uint64 GetFileSize(size_t index) const abstract;
|
||||
virtual void * GetFileData(const utf8 * path, size_t * outSize) const abstract;
|
||||
|
||||
/**
|
||||
|
||||
@@ -170,7 +170,7 @@ namespace TitleSequenceManager
|
||||
return std::string(path);
|
||||
}
|
||||
|
||||
static const uint16 GetPredefinedIndex(const std::string &path)
|
||||
static uint16 GetPredefinedIndex(const std::string &path)
|
||||
{
|
||||
const utf8 * filename = Path::GetFileName(path.c_str());
|
||||
for (uint16 i = 0; i < Util::CountOf(PredefinedSequences); i++)
|
||||
|
||||
Reference in New Issue
Block a user