Mercurial > hg > openttd
changeset 16113:c62198d95e77 draft
(svn r20809) -Fix (r20809): as usual with these user provided Mac OS X patches lately... they either fail to compile or spew warnings
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 15 Sep 2010 21:55:55 +0000 |
parents | 0d32d9e0ae81 |
children | e98ce8022066 |
files | src/video/cocoa/event.mm |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/cocoa/event.mm +++ b/src/video/cocoa/event.mm @@ -560,7 +560,7 @@ 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); } }