Avoid illegal ptr conversions

This commit is contained in:
Tom Lankhorst 2019-02-06 10:38:25 +01:00
parent 756b52186e
commit 706d1be865
No known key found for this signature in database
GPG Key ID: 52BF82B885592251
1 changed files with 1 additions and 1 deletions

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);