summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Hash.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-11-22 02:04:53 +0100
committerGitHub <noreply@github.com>2020-11-22 02:04:53 +0100
commit5d9eb8f6ce127f715db6bf99c656b0c13041e23e (patch)
treee54e593c50629e35927e7e956bba762f00b61f90 /Source/Core/Common/Hash.cpp
parentd3537e68d10d4871be1cd4ddd58274f70485c374 (diff)
parent9efc81ae98076ce55898ef5634e206d32da713a8 (diff)
Merge pull request #9271 from leoetlino/warnings
Fix several warnings and only enable extra warnings for our own code
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
-rw-r--r--Source/Core/Common/Hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp
index 395865c475..2f9f47b270 100644
--- a/Source/Core/Common/Hash.cpp
+++ b/Source/Core/Common/Hash.cpp
@@ -99,7 +99,7 @@ u32 HashEctor(const u8* ptr, size_t length)
{
u32 crc = 0;
- for (int i = 0; i < length; i++)
+ for (size_t i = 0; i < length; i++)
{
crc ^= ptr[i];
crc = (crc << 3) | (crc >> 29);