Commit 623132ac authored by Janne Grunau's avatar Janne Grunau

checkasm: fix undefined signed int left shift by 31 in loopfilter test

parent 014dbe01
......@@ -141,7 +141,7 @@ static void check_lpf_sb(loopfilter_sb_fn fn, const char *const name,
for (int j = 0; j < n_blks; j++) {
const int idx = rand() % (i + 2);
if (idx) vmask[idx - 1] |= 1 << j;
if (idx) vmask[idx - 1] |= 1U << j;
if (dir) {
l[j][lf_idx] = rand() & 63;
l[j + 32][lf_idx] = rand() & 63;
......
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