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