diff --git a/src/client/src/tscGlobalmerge.c b/src/client/src/tscGlobalmerge.c index bacd938b85..d192f743e1 100644 --- a/src/client/src/tscGlobalmerge.c +++ b/src/client/src/tscGlobalmerge.c @@ -1016,7 +1016,7 @@ static void ensureOutputBuf(SSLimitOperatorInfo * pInfo, SSDataBlock *pResultBlo } pInfo->capacity = total; - pInfo->threshold = total * 0.8; + pInfo->threshold = (int64_t)(total * 0.8); } } }