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

Fix Windows compilation of OrcaStream

This commit is contained in:
Michael Steenbeek
2021-10-03 22:41:55 +02:00
committed by GitHub
parent 7530a03b8e
commit 233b1e99b4

View File

@@ -512,11 +512,13 @@ namespace OpenRCT2
Read(&raw, sizeof(raw));
return static_cast<T>(raw);
}
else
{
uint64_t raw{};
Read(&raw, sizeof(raw));
return static_cast<T>(raw);
}
}
else
{
if constexpr (std::is_signed<T>())