Commit bdc25870 authored by Yaowu Xu's avatar Yaowu Xu

Make type conversion explicit

Change-Id: Ie6f7dd3cfaa29f70f0052f87a8e82e9e1efa8507
parent 480bc7ca
......@@ -47,7 +47,7 @@ static INLINE tran_high_t check_range(tran_high_t input, int bd) {
assert(int_min <= input);
assert(input <= int_max);
#endif // CONFIG_COEFFICIENT_RANGE_CHECKING
return clamp64(input, int_min, int_max);
return (tran_high_t)clamp64(input, int_min, int_max);
}
#define WRAPLOW(x) ((int32_t)check_range(x, 8))
......
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