fix warnings about uint64_t -> uint32_t conversion

Change-Id: Iee027979b404d4b7edda506b844d354aa1026dae
This commit is contained in:
Pascal Massimino
2015-09-25 17:36:11 +02:00
parent 76a7dc39e5
commit 56668c9fc5
3 changed files with 4 additions and 3 deletions

View File

@ -105,7 +105,7 @@ static void RescalerExportRowExpandSSE2(WebPRescaler* const wrk) {
}
} else {
const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub);
const uint32_t A = WEBP_RESCALER_ONE - B;
const uint32_t A = (uint32_t)(WEBP_RESCALER_ONE - B);
const __m128i mA = _mm_set_epi64x(A, A);
const __m128i mB = _mm_set_epi64x(B, B);
const __m128i rounder = _mm_set_epi64x(ROUNDER, ROUNDER);