diff options
author | Janne Grunau <janne-vlc@jannau.net> | 2018-11-14 20:42:38 +0300 |
---|---|---|
committer | Janne Grunau <janne-vlc@jannau.net> | 2018-11-17 02:03:28 +0300 |
commit | 623132aca27c4d637b25c098f8b43d5e4eaeda7a (patch) | |
tree | 42e46b6a35c1b770238847b93c1d1757a19eac2e | |
parent | 014dbe01c9229a4e1fe8efa098ec3a42634d3735 (diff) |
checkasm: fix undefined signed int left shift by 31 in loopfilter test
-rw-r--r-- | tests/checkasm/loopfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/loopfilter.c b/tests/checkasm/loopfilter.c index 60299be..8e13cb1 100644 --- a/tests/checkasm/loopfilter.c +++ b/tests/checkasm/loopfilter.c @@ -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; |