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