Commit 9feda796 authored by James Zern's avatar James Zern Committed by Steinar Midtskogen

cdef_test: quiet implicit bool to int conv warning

Change-Id: Ic7096fe85dc653c9c7d7d1f098df19daff27e1cf
parent 80daf0c4
......@@ -68,7 +68,7 @@ void test_cdef(int bsize, int iterations, cdef_filter_block_func cdef,
for (boundary = 0; boundary < 16; boundary++) {
for (depth = 8; depth <= 12; depth += 2) {
const unsigned int max_pos = size * size >> (depth == 8);
const unsigned int max_pos = size * size >> static_cast<int>(depth == 8);
for (pridamping = 3 + depth - 8;
pridamping < 7 - 3 * !!boundary + depth - 8; pridamping++) {
for (secdamping = 3 + depth - 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