summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-25 23:44:55 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-25 23:44:55 +0000
commita6158451ec027031ddc39cdc6ebfa92fb5515689 (patch)
treefe59df92b9b34dc8852999286365bdcc7d0c5c3d /libvo
parent2b56be8a441ea0443019dd556fb0b591c00d5c64 (diff)
downloadmpv-a6158451ec027031ddc39cdc6ebfa92fb5515689.tar.bz2
mpv-a6158451ec027031ddc39cdc6ebfa92fb5515689.tar.xz
fix signess warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15572 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_macosx.m4
1 files 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);