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

Avoid illegal ptr conversions

This commit is contained in:
Tom Lankhorst
2019-02-06 10:38:25 +01:00
parent 756b52186e
commit 706d1be865

View File

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