mirror of https://github.com/PCSX2/pcsx2.git
MemoryCardFolder: Fix Wsign-compare warning.
This commit is contained in:
parent
5286b19af5
commit
3ba72e8728
|
@ -1008,7 +1008,7 @@ s32 FolderMemoryCard::Read(u8* dest, u32 adr, int size)
|
|||
FolderMemoryCard::CalculateECC(ecc + (i * 3), &data[i * 0x80]);
|
||||
}
|
||||
|
||||
pxAssert(size >= eccOffset);
|
||||
pxAssert(static_cast<u32>(size) >= eccOffset);
|
||||
const u32 copySize = std::min((u32)size - eccOffset, eccLength);
|
||||
memcpy(dest + eccOffset, ecc, copySize);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue