From 424caeb9209853b493303cfcf77bc99e66ee893b Mon Sep 17 00:00:00 2001 From: gpoirier Date: Tue, 21 Apr 2009 08:19:22 +0000 Subject: Fix a signedness issue that caused a warning to be wrongfully printed at runtime. Patch by Adrian Stutz %adrian A sttz P ch% git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29218 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_macosx.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 32f7d1a19e..9f0fcc4bd1 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -121,7 +121,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_ //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)]; } -- cgit v1.2.3