summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Hash.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-11-21 01:05:01 +0100
committerLéo Lam <leo@leolam.fr>2020-11-21 02:08:09 +0100
commit82f1e6204da7fc64a4efecd35dc7e096911c5777 (patch)
treecb2c1fafc225f54d30706fb45e3e1feaabb9f4f6 /Source/Core/Common/Hash.cpp
parent4b7f784d1bcf3a9eb660aaabafaacd80957d2de2 (diff)
Fix -Wsign-compare warnings
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);