diff --git a/source/libs/function/src/detail/tavgfunction.c b/source/libs/function/src/detail/tavgfunction.c index f3bfa39798e45acc3cbf4733658b1841c388978d..e31db0f360dd37feba088ad50a03ab4a83cf8d14 100644 --- a/source/libs/function/src/detail/tavgfunction.c +++ b/source/libs/function/src/detail/tavgfunction.c @@ -55,7 +55,7 @@ } // define unsigned number sum with check overflow -#define CHECK_OVERFLOW_SUM_UNSIGNED (out, val) \ +#define CHECK_OVERFLOW_SUM_UNSIGNED(out, val) \ if (out->sum.overflow) { \ out->sum.dsum += val; \ } else if (UINT64_MAX - out->sum.usum <= val) { \