1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix MSVC type conversion warning

This commit is contained in:
Tom Lankhorst
2019-02-06 12:13:56 +01:00
parent 72519d8bb8
commit ddfbaac13f

View File

@@ -299,7 +299,7 @@ namespace OpenRCT2
Serialise(recSerialiser, *_currentRecording);
const auto& stream = recSerialiser.GetStream();
size_t streamLength = stream.GetLength();
unsigned long streamLength = static_cast<unsigned long>(stream.GetLength());
unsigned long compressLength = compressBound(streamLength);
MemoryStream data(compressLength);