Commit b3494d6c authored by Jingning Han's avatar Jingning Han
Browse files

Fix gcc warning on int type conversion in ext-inter


Change-Id: I57482c3cb8462c95a2aeb0efa0c8a259c73f3811
parent 76fcff7c
......@@ -702,7 +702,7 @@ void masked_variance(const uint8_t *a, int a_stride, const uint8_t *b,
const uint8_t *m, int m_stride, unsigned int *sse) { \
int sum; \
masked_variance(a, a_stride, b, b_stride, m, m_stride, W, H, sse, &sum); \
return *sse - (((int64_t)sum * sum) / (W * H)); \
return *sse - (unsigned int)(((int64_t)sum * sum) / (W * H)); \
#define MASK_SUBPIX_VAR(W, H) \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment