From a6158451ec027031ddc39cdc6ebfa92fb5515689 Mon Sep 17 00:00:00 2001 From: nplourde Date: Wed, 25 May 2005 23:44:55 +0000 Subject: [PATCH] fix signess warning git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15572 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_macosx.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index bf1b20d28b..3a7ccdfec2 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -131,7 +131,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 aspect_save_orig(width,height); aspect_save_prescale(d_width,d_height); aspect_save_screenres(device_width,device_height); - aspect(&d_width,&d_height,A_NOZOOM); + aspect((int *)&d_width,(int *)&d_height,A_NOZOOM); movie_aspect = (float)d_width/(float)d_height; old_movie_aspect = movie_aspect; @@ -542,7 +542,7 @@ static uint32_t control(uint32_t request, void *data, ...) //set image_rec if(vo_keepaspect) { - aspect( &d_width, &d_height, A_NOZOOM); + aspect( (int *)&d_width, (int *)&d_height, A_NOZOOM); d_height = ((float)d_width/movie_aspect); aspectX = (float)((float)frame.size.width/(float)d_width);