Build fixes for android

This commit is contained in:
karlberg
2021-05-07 16:20:00 -07:00
parent d2df379fa4
commit 80f6dcd258
10 changed files with 36 additions and 35 deletions
@@ -19,9 +19,10 @@ namespace AzNetworking
static const int32_t FloatHashMinValue = (INT_MIN >> 7);
static const int32_t FloatHashMaxValue = (INT_MAX >> 7);
AZ::HashValue64 HashSerializer::GetHash() const
AZ::HashValue32 HashSerializer::GetHash() const
{
return m_hash;
// Just truncate the upper bits
return static_cast<AZ::HashValue32>(m_hash);
}
SerializerMode HashSerializer::GetSerializerMode() const
@@ -27,7 +27,7 @@ namespace AzNetworking
HashSerializer() = default;
AZ::HashValue64 GetHash() const;
AZ::HashValue32 GetHash() const;
// ISerializer interfaces
SerializerMode GetSerializerMode() const override;