projects
/
enjoyable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198543f
)
Fixed signedness.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Wed, 6 Mar 2013 18:52:28 +0000
(19:52 +0100)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Wed, 6 Mar 2013 18:52:28 +0000
(19:52 +0100)
NJInputHat.m
patch
|
blob
|
history
diff --git
a/NJInputHat.m
b/NJInputHat.m
index 409ae0778832d4d12c4d3931f5fad7614aacf3ff..e0e127fec646b6d4b15e51b144cede49ede7c0b2 100644
(file)
--- 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];