aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/llviddsp.c
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 /tests/checkasm/llviddsp.c
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 'tests/checkasm/llviddsp.c')
-rw-r--r--tests/checkasm/llviddsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/llviddsp.c b/tests/checkasm/llviddsp.c
index e42873bd20..b1f3b83b43 100644
--- a/tests/checkasm/llviddsp.c
+++ b/tests/checkasm/llviddsp.c
@@ -41,7 +41,7 @@ static void check_add_bytes(LLVidDSPContext c, int width)
uint8_t *src1 = av_mallocz(width);
uint8_t *dst0 = av_mallocz(width);
uint8_t *dst1 = av_mallocz(width);
- declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, uint8_t *src, int w);
+ declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, uint8_t *src, ptrdiff_t w);
if (!src0 || !src1 || !dst0 || !dst1)
fail();