SI_DeviceAMBaseboard: Comparing an unsigned int and an int

This commit is contained in:
Joshua Vandaële 2026-02-08 15:06:13 +01:00 committed by Jordan Woyak
parent 2c2bfc1fe1
commit 7b0ee77840

View File

@ -177,7 +177,7 @@ void CSIDevice_AMBaseboard::ICCardSendReply(ICCommand* iccommand, u8* buffer, u3
const auto iccommand_data = reinterpret_cast<const u8*>(iccommand);
const u8 crc = CheckSumXOR(iccommand_data + 2, iccommand->pktlen - 1);
for (u32 i = 0; i < iccommand->pktlen + 1; ++i)
for (u32 i = 0; i <= iccommand->pktlen; ++i)
{
buffer[(*length)++] = iccommand_data[i];
}