1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

Add cmath include to fix MacOS build

This commit is contained in:
Ted John
2017-01-02 23:21:09 +00:00
parent cfa1c62490
commit 683fc90ea7
3 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ public:
sint64 currentPosition = SDL_RWtell(_rw);
if (currentPosition != -1)
{
size_t bytesToRead = Math::Min(len, _dataLength - offset);
size_t bytesToRead = Math::Min<size_t>(len, _dataLength - offset);
sint64 dataOffset = _dataBegin + offset;
if (currentPosition != dataOffset)
{