Change to use correct type

This commit changes to use int instead of unsigned for a variable used in
inverse quantization.

Change-Id: I8f0ff5f80c9e68d52425265ef177357c65ead1e2
This commit is contained in:
Yaowu Xu
2016-05-18 17:35:34 -07:00
parent 23938a73c0
commit af048635bb

View File

@@ -1050,7 +1050,7 @@ void av1_highbd_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs,
#endif
static void invert_quant(int16_t *quant, int16_t *shift, int d) {
unsigned t;
uint32_t t;
int l, m;
t = d;
for (l = 0; t > 1; l++) t >>= 1;