From 4173ba76fa98d491adf5dc4d56b622314bac317a Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 15 Sep 2010 21:55:55 +0000 Subject: [PATCH] (svn r20809) -Fix (r20809): as usual with these user provided Mac OS X patches lately... they either fail to compile or spew warnings --- src/video/cocoa/event.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm index d3e2131a04..cda2fc56e3 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); } }