mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix two compilation issues on macOS
This commit is contained in:
parent
900f94d1c3
commit
fd29525993
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue