diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-22 02:04:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-22 02:04:53 +0100 |
| commit | 5d9eb8f6ce127f715db6bf99c656b0c13041e23e (patch) | |
| tree | e54e593c50629e35927e7e956bba762f00b61f90 /Source/Core/Common/Hash.cpp | |
| parent | d3537e68d10d4871be1cd4ddd58274f70485c374 (diff) | |
| parent | 9efc81ae98076ce55898ef5634e206d32da713a8 (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.cpp | 2 |
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); |
