fix: CRC64 parameters being limited to 32bit (#1975)

This addresses #1974
This commit is contained in:
BobSmun
2024-12-01 01:35:03 +08:00
committed by GitHub
parent 01af2f364c
commit 0ff1bb392c
2 changed files with 5 additions and 5 deletions

View File

@@ -219,9 +219,9 @@ namespace hex::plugin::hashes {
size_t m_selectedCrc = 0;
u32 m_width = 3;
u32 m_polynomial = 0;
u32 m_initialValue = 0;
u32 m_xorOut = 0;
u64 m_polynomial = 0;
u64 m_initialValue = 0;
u64 m_xorOut = 0;
bool m_reflectIn = false, m_reflectOut = false;
};
@@ -731,4 +731,4 @@ namespace hex::plugin::hashes {
ContentRegistry::Hashes::add<HashWithKey>(HashFactory::Hash128::CreateMurmurHash3_x64_128);
}
}
}