From 82f1e6204da7fc64a4efecd35dc7e096911c5777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 21 Nov 2020 01:05:01 +0100 Subject: Fix -Wsign-compare warnings --- Source/Core/Common/Hash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/Hash.cpp') 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); -- cgit v1.2.3