From eb44d43bba0bc43b6bff30ce8c60b4e81312f23c Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 24 Jul 2021 22:44:20 +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 63bb9ee214..1c0e665276 100644 --- a/src/client/src/tscServer.c +++ b/src/client/src/tscServer.c @@ -2240,7 +2240,7 @@ int tscProcessMultiTableMetaRsp(SSqlObj *pSql) { // for each vgroup, only update the information once. int64_t vgId = pMetaMsg->vgroup.vgId; if (pTableMeta->tableType != TSDB_SUPER_TABLE && taosHashGet(pSet, &vgId, sizeof(vgId)) == NULL) { - doUpdateVgroupInfo(vgId, &pMetaMsg->vgroup); + doUpdateVgroupInfo((int32_t) vgId, &pMetaMsg->vgroup); taosHashPut(pSet, &vgId, sizeof(vgId), "", 0); }