projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed signedness.
[enjoyable.git]
/
NJInputHat.m
diff --git
a/NJInputHat.m
b/NJInputHat.m
index
409ae07
..
e0e127f
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;
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];
BOOL active = activechildren[parsed * 4 + i];
[self.children[i] setActive:active];
[self.children[i] setMagnitude:active];