mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Fix -Wsign-compare warnings
This commit is contained in:
parent
4b7f784d1b
commit
82f1e6204d
4 changed files with 8 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue