1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-01 11:15:13 +01:00

Fix build issues

This commit is contained in:
Ted John
2017-01-31 20:27:53 +00:00
parent bb62bbebb3
commit 44120b2e7e
4 changed files with 11 additions and 6 deletions

View File

@@ -114,7 +114,7 @@ namespace SawyerEncoding
do
{
uint8 buffer[4096];
uint64 bufferSize = Math::Min(dataSize, sizeof(buffer));
uint64 bufferSize = Math::Min<uint64>(dataSize, sizeof(buffer));
stream->Read(buffer, bufferSize);
for (uint64 i = 0; i < bufferSize; i++)