diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-26 01:34:02 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-03-26 01:34:02 +0000 |
commit | d4efacff64f8b07c24eabb38f855ff06a10dcc31 (patch) | |
tree | 38c75992a3c97211d804d6ef061d458b8d9fc405 /libavcodec/dsputil.c | |
parent | befa8e665c460244ba523131e6c22b19ab269e77 (diff) | |
download | ffmpeg-d4efacff64f8b07c24eabb38f855ff06a10dcc31.tar.gz |
Use intptr_t when casting pointers to int.
Originally committed as revision 18192 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 86a6c37793..3e7bfc35e3 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -4271,7 +4271,7 @@ int ff_check_alignment(void){ static int did_fail=0; DECLARE_ALIGNED_16(int, aligned); - if((long)&aligned & 15){ + if((intptr_t)&aligned & 15){ if(!did_fail){ #if HAVE_MMX || HAVE_ALTIVEC av_log(NULL, AV_LOG_ERROR, |