From: Joe Wreschnig Date: Wed, 6 Mar 2013 18:52:28 +0000 (+0100) Subject: Fixed signedness. X-Git-Tag: version-1.0~21 X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=5d47b8ad7e805212b250c86e8e18758bc3662e54;p=enjoyable.git Fixed signedness. --- diff --git a/NJInputHat.m b/NJInputHat.m index 409ae07..e0e127f 100644 --- a/NJInputHat.m +++ b/NJInputHat.m @@ -89,7 +89,7 @@ static BOOL active_fourway[20] = { size++; } BOOL *activechildren = (size == 8) ? active_eightway : active_fourway; - for (int i = 0; i < 4; i++) { + for (unsigned i = 0; i < 4; i++) { BOOL active = activechildren[parsed * 4 + i]; [self.children[i] setActive:active]; [self.children[i] setMagnitude:active];