diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_macosx.m | 2 |
1 files changed, 1 insertions, 1 deletions
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)]; } |