From 772d1e42a2bd5e9e66c097c0af70eb42b1bdf3c8 Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Tue, 23 Nov 2010 04:50:01 +0000 Subject: [PATCH] Add parentheses for clarity. The parentheses around the two terms of the && are unnecessary but I'm leaving them in for the sake of avoiding confusion (I confuse easily). Submitted by: bde --- sys/kern/kern_tc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 2487b6b5a9d..bfa39f764a2 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -448,7 +448,7 @@ tc_windup(void) th->th_offset.sec++; } if ((delta > th->th_counter->tc_frequency / 2) && - (th->th_scale * delta < (uint64_t)1 << 63)) { + (th->th_scale * delta < ((uint64_t)1 << 63))) { /* The product th_scale * delta just barely overflows. */ th->th_offset.sec++; } -- 2.45.2