diff options
Diffstat (limited to '3rdparty/lzma/CPP/7zip/UI/Common/HashCalc.cpp')
-rw-r--r-- | 3rdparty/lzma/CPP/7zip/UI/Common/HashCalc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/lzma/CPP/7zip/UI/Common/HashCalc.cpp b/3rdparty/lzma/CPP/7zip/UI/Common/HashCalc.cpp index c33f837fe77..60a747d5590 100644 --- a/3rdparty/lzma/CPP/7zip/UI/Common/HashCalc.cpp +++ b/3rdparty/lzma/CPP/7zip/UI/Common/HashCalc.cpp @@ -101,8 +101,8 @@ HRESULT CHashBundle::SetMethods(DECL_EXTERNAL_CODECS_LOC_VARS const UStringVecto h.Hasher = hasher; h.Name = name; h.DigestSize = digestSize; - for (unsigned i = 0; i < k_HashCalc_NumGroups; i++) - memset(h.Digests[i], 0, digestSize); + for (unsigned k = 0; k < k_HashCalc_NumGroups; k++) + memset(h.Digests[k], 0, digestSize); } return S_OK; |