summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2022-08-02 18:29:04 +0100
committerGitHub <noreply@github.com>2022-08-02 18:29:04 +0100
commit7d2d5d914bf3cacbecbb0bf8a642b616744aad54 (patch)
tree7b0d5b300960fb11308dd97cc4777b9c08355d33 /Source/Core/DiscIO/VolumeVerifier.cpp
parente62ceab349c7120450f2da6c5d5f0a311707046a (diff)
parent17c554c1656fc6ea2df1463a97628379954b65ed (diff)
Merge pull request #10903 from shuffle2/hash-reorg
Common/Hash: use zlib-ng for adler32. small cleanups.
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
-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));
});
}