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
This commit is contained in:
gpoirier 2009-04-21 08:19:22 +00:00
parent 7a07a0fcb0
commit 424caeb920
1 changed files with 1 additions and 1 deletions

View File

@ -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)];
}