[MPlayer-cvslog] r29218 - trunk/libvo/vo_macosx.m
gpoirier
subversion at mplayerhq.hu
Tue Apr 21 10:19:23 CEST 2009
Author: gpoirier
Date: Tue Apr 21 10:19:22 2009
New Revision: 29218
Log:
Fix a signedness issue that caused a warning to be wrongfully printed at runtime.
Patch by Adrian Stutz %adrian A sttz P ch%
Modified:
trunk/libvo/vo_macosx.m
Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m Tue Apr 21 03:08:03 2009 (r29217)
+++ trunk/libvo/vo_macosx.m Tue Apr 21 10:19:22 2009 (r29218)
@@ -121,7 +121,7 @@ static int config(uint32_t width, uint32
//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)];
}
More information about the MPlayer-cvslog
mailing list