mirror of https://github.com/OpenRCT2/OpenRCT2.git
Avoid illegal ptr conversions
This commit is contained in:
parent
756b52186e
commit
706d1be865
|
@ -299,7 +299,7 @@ namespace OpenRCT2
|
||||||
|
|
||||||
const auto& stream = recSerialiser.GetStream();
|
const auto& stream = recSerialiser.GetStream();
|
||||||
size_t streamLength = stream.GetLength();
|
size_t streamLength = stream.GetLength();
|
||||||
size_t compressLength = compressBound(streamLength);
|
unsigned long compressLength = compressBound(streamLength);
|
||||||
|
|
||||||
MemoryStream data(compressLength);
|
MemoryStream data(compressLength);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue