diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 2cabcbe5f239ee51260e2d09d80cc7f914bf0eba..a0d310c07fe3e76eac6e11cce33dc47e5fa24eb1 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);