From a701b8905fa7e0b1c8b57ec9cb2449cdf53efde9 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sun, 25 Apr 2021 23:04:27 +0800 Subject: [PATCH] [td-225]fix compiler error. --- src/client/src/tscUtil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index c77e95b271..568364d8b3 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -3486,7 +3486,7 @@ static int32_t createTagColumnInfo(SQueryAttr* pQueryAttr, SQueryInfo* pQueryInf return TSDB_CODE_SUCCESS; } - pQueryAttr->numOfTags = (int32_t)taosArrayGetSize(pTableMetaInfo->tagColList); + pQueryAttr->numOfTags = (int16_t)taosArrayGetSize(pTableMetaInfo->tagColList); if (pQueryAttr->numOfTags == 0) { return TSDB_CODE_SUCCESS; } -- GitLab