summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2022-07-22 08:52:26 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2022-08-01 10:07:27 -0700
commit17c554c1656fc6ea2df1463a97628379954b65ed (patch)
tree9eb9c08e2fb6216c44ad4c783ca0bd7fe1242ed8 /Source/Core/DiscIO
parentfb45ed3981d4aaaaa55fcd16686bba68fed2c4f1 (diff)
Common/Hash: use zlib-ng for adler32. small cleanups.
Diffstat (limited to 'Source/Core/DiscIO')
-rw-r--r--Source/Core/DiscIO/VolumeVerifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp
index 33828382a9..1e5f6515f0 100644
--- a/Source/Core/DiscIO/VolumeVerifier.cpp
+++ b/Source/Core/DiscIO/VolumeVerifier.cpp
@@ -1175,8 +1175,8 @@ void VolumeVerifier::Process()
if (m_hashes_to_calculate.crc32)
{
m_crc32_future = std::async(std::launch::async, [this, byte_increment] {
- m_crc32_context =
- Common::UpdateCRC32(m_crc32_context, m_data.data(), static_cast<u32>(byte_increment));
+ m_crc32_context = Common::UpdateCRC32(m_crc32_context, m_data.data(),
+ static_cast<size_t>(byte_increment));
});
}