From 8fed6ecaa12940f2ea840693b582d9a6ffe735a8 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 2 Oct 2020 11:11:07 +0800 Subject: [PATCH] [td-225] fix compiler error on windows --- src/client/src/tscServer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscServer.c b/src/client/src/tscServer.c index 8a645d5761..e84217b38b 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -178,7 +178,7 @@ void tscProcessHeartBeatRsp(void *param, TAOS_RES *tres, int code) { } if (pObj->pHb != NULL) { - int64_t waitingDuring = tsShellActivityTimer * 500; + int32_t waitingDuring = tsShellActivityTimer * 500; tscDebug("%p start heartbeat in %"PRId64"ms", pSql, waitingDuring); taosTmrReset(tscProcessActivityTimer, waitingDuring, pObj, tscTmr, &pObj->pTimer); -- GitLab