1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Fix two compilation issues on macOS

This commit is contained in:
Gymnasiast
2021-04-09 22:51:36 +02:00
parent 900f94d1c3
commit fd29525993
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;