conversed gined to unsigned int

This commit is contained in:
Reima Hyvönen 2019-03-29 15:25:27 +02:00 committed by Pauli Oikkonen
parent ac5c216974
commit 247c3a7a71

View file

@ -85,7 +85,7 @@ static int sao_edge_ddistortion_avx2(const kvz_pixel *orig_data,
int offsets[NUM_SAO_EDGE_CATEGORIES]) int offsets[NUM_SAO_EDGE_CATEGORIES])
{ {
int y, x; int y, x;
int sum = 0; unsigned int sum = 0;
vector2d_t a_ofs = g_sao_edge_offsets[eo_class][0]; vector2d_t a_ofs = g_sao_edge_offsets[eo_class][0];
vector2d_t b_ofs = g_sao_edge_offsets[eo_class][1]; vector2d_t b_ofs = g_sao_edge_offsets[eo_class][1];