aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-22 18:27:53 -0300
committerJames Almer <jamrial@gmail.com>2017-03-22 18:38:35 -0300
commit30cadfe071ad353b60144d235a347a57ada7998c (patch)
tree1e997160f0efac4296986f8b9cacb2386b3f16b8 /libavcodec/ppc
parent9560766a6164ed362e7f274242a024fe7b71d154 (diff)
downloadffmpeg-30cadfe071ad353b60144d235a347a57ada7998c.tar.gz
avcodec/lossless_videodsp: use ptrdiff_t for length parameters
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r--libavcodec/ppc/lossless_videodsp_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/lossless_videodsp_altivec.c b/libavcodec/ppc/lossless_videodsp_altivec.c
index c388dc33af..16dd99f8d7 100644
--- a/libavcodec/ppc/lossless_videodsp_altivec.c
+++ b/libavcodec/ppc/lossless_videodsp_altivec.c
@@ -33,7 +33,7 @@
#include "libavcodec/lossless_videodsp.h"
#if HAVE_ALTIVEC
-static void add_bytes_altivec(uint8_t *dst, uint8_t *src, intptr_t w)
+static void add_bytes_altivec(uint8_t *dst, uint8_t *src, ptrdiff_t w)
{
register int i;
register vector unsigned char vdst, vsrc;