diff --git a/grub-core/kern/compiler-rt.c b/grub-core/kern/compiler-rt.c index 2057c2e0c..8948fdf77 100644 --- a/grub-core/kern/compiler-rt.c +++ b/grub-core/kern/compiler-rt.c @@ -431,7 +431,7 @@ __clzsi2 (grub_uint32_t val) for (; j; j >>= 1) { - if ((temp = val) >> j) + if ((temp = val >> j)) { if (j == 1) {