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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user