Commit a60e26d5 authored by James Zern's avatar James Zern Committed by Hui Su

av1_txfm,round_shift: remove implicit conv warning

under visual studio c4334:
result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift
intended?)

Change-Id: If06793116ddfbe3265a17a17a2bcaa6ee8cf9e2d
(cherry picked from commit 535ecf6b31fe97f704f6725989cffad88ad960d8)
parent 19df02af
......@@ -82,7 +82,7 @@ static INLINE const int32_t *cospi_arr(int n) {
static INLINE int32_t round_shift(int32_t value, int bit) {
assert(bit >= 1);
return (int32_t)(((int64_t)value + (1 << (bit - 1))) >> bit);
return (int32_t)(((int64_t)value + (1ll << (bit - 1))) >> bit);
}
static INLINE void round_shift_array(int32_t *arr, int size, int bit) {
......
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