From 59e902d9f1a73617b5fc0c8e8ba1a185d458add6 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 20 Jan 2021 12:07:02 +0800 Subject: [PATCH] [TD-225]fix compiler error. --- src/client/src/tscSQLParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 2cabcbe5f2..a0d310c07f 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -561,7 +561,7 @@ int32_t tscToSQLCmd(SSqlObj* pSql, struct SSqlInfo* pInfo) { return invalidSqlErrMsg(tscGetErrorMsgPayload(pCmd), msg); } - int32_t numOfToken = taosArrayGetSize(pMiscInfo->a); + int32_t numOfToken = (int32_t) taosArrayGetSize(pMiscInfo->a); SStrToken* t = taosArrayGet(pMiscInfo->a, 0); SStrToken* t1 = taosArrayGet(pMiscInfo->a, 1); -- GitLab