From b0061fed8af0fb2517e643328357ace995042a0e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Feb 2025 15:32:45 -0500 Subject: Fully parenthesize expressions --- include/ingen/Clock.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ingen/Clock.hpp b/include/ingen/Clock.hpp index 6a966701..9e20a031 100644 --- a/include/ingen/Clock.hpp +++ b/include/ingen/Clock.hpp @@ -48,8 +48,8 @@ private: uint64_t now_microseconds() const { struct timespec time{}; clock_gettime(_clock, &time); - return static_cast(time.tv_sec) * 1000000U + - static_cast(time.tv_nsec) / 1000U; + return (static_cast(time.tv_sec) * 1000000U) + + (static_cast(time.tv_nsec) / 1000U); } private: -- cgit v1.2.1