From c2791ce3fc83f532f591941aa9d829fd658d169a Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Tue, 9 Jan 2024 16:40:47 +0300 Subject: [PATCH] template.c: clarify the order of operations (2) --- src/template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/template.c b/src/template.c index 0b7171e..c00ecce 100644 --- a/src/template.c +++ b/src/template.c @@ -146,7 +146,7 @@ main(void) // 6. log #if VERBOSE_MODE if (w % FREQUENCY_OF_STATUS_REPORTING == 0 || - w >= PRODUCT - 1 /* or if writing last sample */) { + w >= (PRODUCT - 1) /* or if writing last sample */) { printf( "%sremaining samples = %18" PRIuMAX " (%.2Lf%% done)", ANSI_CLEAR,