From 5c727b3fbe6bccb0ef95cfc3dfd97c666534529a Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Tue, 15 Dec 2020 18:26:11 +0800 Subject: [PATCH] [TD-225] fix compiler error. --- 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 2d68289587..a1d0e11f9d 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -1312,7 +1312,7 @@ int tscBuildCreateTableMsg(SSqlObj *pSql, SSqlInfo *pInfo) { if (type == TSQL_CREATE_TABLE_FROM_STABLE) { // create by using super table, tags value SArray* list = pInfo->pCreateTableInfo->childTableInfo; - int32_t numOfTables = taosArrayGetSize(list); + int32_t numOfTables = (int32_t) taosArrayGetSize(list); pCreateTableMsg->numOfTables = htonl(numOfTables); pMsg = (char*) pCreateMsg; -- GitLab