Fix two compilation issues on macOS

This commit is contained in:
Gymnasiast 2021-04-09 22:51:36 +02:00
parent 900f94d1c3
commit fd29525993
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
2 changed files with 2 additions and 2 deletions

View File

@ -515,7 +515,7 @@ namespace OpenRCT2
}
else
{
Console::WriteLine("%s not packed: unsupported extension.", ori->Identifier);
Console::WriteLine("%s not packed: unsupported extension.", ori->Identifier.c_str());
continue;
}

View File

@ -90,7 +90,7 @@ namespace OpenRCT2
uint64_t bytesLeft = _header.CompressedSize;
do
{
auto readLen = std::min(bytesLeft, sizeof(temp));
auto readLen = std::min(size_t(bytesLeft), sizeof(temp));
_stream->Read(temp, readLen);
_buffer.Write(temp, readLen);
bytesLeft -= readLen;