From 623132aca27c4d637b25c098f8b43d5e4eaeda7a Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Wed, 14 Nov 2018 18:42:38 +0100 Subject: checkasm: fix undefined signed int left shift by 31 in loopfilter test --- tests/checkasm/loopfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3