mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-21 16:10:16 +08:00
Use intptr_t when casting pointers to int.
Originally committed as revision 18192 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user