Mercurial > mplayer.hg
diff libvo/vo_macosx.m @ 29177:1dfd99eb3280
Fix a signedness issue that caused a warning to be wrongfully printed at runtime.
Patch by Adrian Stutz %adrian A sttz P ch%
author | gpoirier |
---|---|
date | Tue, 21 Apr 2009 08:19:22 +0000 |
parents | 9d40283d9a5d |
children |
line wrap: on
line diff
--- a/libvo/vo_macosx.m Tue Apr 21 01:08:03 2009 +0000 +++ b/libvo/vo_macosx.m Tue Apr 21 08:19:22 2009 +0000 @@ -121,7 +121,7 @@ //init screen screen_array = [NSScreen screens]; - if(screen_id < [screen_array count]) + if(screen_id < (int)[screen_array count]) { screen_handle = [screen_array objectAtIndex:(screen_id < 0 ? 0 : screen_id)]; }