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:
committed by
GitHub
parent
7530a03b8e
commit
233b1e99b4
@@ -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>())
|
||||
|
||||
Reference in New Issue
Block a user