mirror of https://github.com/PCSX2/pcsx2.git
lilypad: fix the gcc warning take 3
Signed vs non-signed comparison
This commit is contained in:
parent
41bede60eb
commit
ac9f2ed284
|
@ -655,7 +655,7 @@ void Update(unsigned int port, unsigned int slot) {
|
||||||
}
|
}
|
||||||
pads[port][slot].lockedState ^= LOCK_BUTTONS;
|
pads[port][slot].lockedState ^= LOCK_BUTTONS;
|
||||||
}
|
}
|
||||||
for (i=0; i<sizeof(pads[port][slot].lockedSum)/4; i++) {
|
for (i=0; i< (int)sizeof(pads[port][slot].lockedSum)/4; i++) {
|
||||||
if (((int*)&pads[port][slot].lockedSum)[i]) break;
|
if (((int*)&pads[port][slot].lockedSum)[i]) break;
|
||||||
}
|
}
|
||||||
if (i==sizeof(pads[port][slot].lockedSum)/4) {
|
if (i==sizeof(pads[port][slot].lockedSum)/4) {
|
||||||
|
|
Loading…
Reference in New Issue