changeset 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 d18426e37f13
children 0e5d94f37c5d
files libvo/vo_macosx.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)];
 	}