mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-04 02:01:51 +00:00
chore: fix compilation issues with x64
This commit is contained in:
@ -22,7 +22,7 @@ uint8_t* AbstractSalsa20Processor::GetHashBlock(const int streamNumber) const
|
||||
void AbstractSalsa20Processor::InitStreams(const std::string& zoneName, const uint8_t* salsa20Key, const size_t keySize) const
|
||||
{
|
||||
// Original buffer must have been 32 bytes because the zoneName can at most be 31 characters be long before being cut off
|
||||
const auto zoneNameLength = std::min(zoneName.length(), 31u);
|
||||
const auto zoneNameLength = std::min(zoneName.length(), 31uz);
|
||||
|
||||
const size_t blockHashBufferSize = BLOCK_HASHES_COUNT * m_stream_count * SHA1_HASH_SIZE;
|
||||
|
||||
|
Reference in New Issue
Block a user