From 69660a4b77b57572a639502e2a161a46321062ed Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 10 May 2018 23:08:54 -0700 Subject: [PATCH] vpx_subtract_block_neon: add explicit cast quiets ptrdiff_t -> int conversion warning Change-Id: If6b545a736fc19e48e290961736b1618df97db3e --- vpx_dsp/arm/subtract_neon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpx_dsp/arm/subtract_neon.c b/vpx_dsp/arm/subtract_neon.c index 7e4610d2e..eef123368 100644 --- a/vpx_dsp/arm/subtract_neon.c +++ b/vpx_dsp/arm/subtract_neon.c @@ -66,8 +66,8 @@ void vpx_subtract_block_neon(int rows, int cols, int16_t *diff, } else { assert(cols == 4); do { - const uint8x8_t s = load_unaligned_u8(src, src_stride); - const uint8x8_t p = load_unaligned_u8(pred, pred_stride); + const uint8x8_t s = load_unaligned_u8(src, (int)src_stride); + const uint8x8_t p = load_unaligned_u8(pred, (int)pred_stride); const uint16x8_t d = vsubl_u8(s, p); vst1_s16(diff + 0 * diff_stride, vreinterpret_s16_u16(vget_low_u16(d))); vst1_s16(diff + 1 * diff_stride, vreinterpret_s16_u16(vget_high_u16(d))); -- 2.40.0