summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-09-15 21:55:55 +0000
committerrubidium <rubidium@openttd.org>2010-09-15 21:55:55 +0000
commit4173ba76fa98d491adf5dc4d56b622314bac317a (patch)
tree1a4339b7c95c5aeadcbd41269c80bd92ae8c2f49 /src/video
parent4915f47264f87e39690bb138fc87138eb66708f0 (diff)
downloadopenttd-4173ba76fa98d491adf5dc4d56b622314bac317a.tar.xz
(svn r20809) -Fix (r20809): as usual with these user provided Mac OS X patches lately... they either fail to compile or spew warnings
Diffstat (limited to 'src/video')
-rw-r--r--src/video/cocoa/event.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm
index d3e2131a0..cda2fc56e 100644
--- a/src/video/cocoa/event.mm
+++ b/src/video/cocoa/event.mm
@@ -560,7 +560,7 @@ static bool QZ_PollEvent()
QZ_KeyEvent([ event keyCode ], 0, YES);
} else {
QZ_KeyEvent([ event keyCode ], [ chars characterAtIndex:0 ], YES);
- for (int i = 1; i < [ chars length ]; i++) {
+ for (uint i = 1; i < [ chars length ]; i++) {
QZ_KeyEvent(0, [ chars characterAtIndex:i ], YES);
}
}