diff --git a/src/mnode/src/mnodeTable.c b/src/mnode/src/mnodeTable.c index 25d14607f68d17d330f0637508e4264785c0e891..e1cae0d05427e0a46e1f95c9fa4f0a0b8e085fe2 100644 --- a/src/mnode/src/mnodeTable.c +++ b/src/mnode/src/mnodeTable.c @@ -2950,7 +2950,7 @@ static int32_t mnodeProcessMultiTableMetaMsg(SMnodeMsg *pMsg) { msg = serializeVgroupInfo(pTable, name, msg, pMsg, pMsg->rpcMsg.ahandle); } - pMultiMeta->contLen = (msg - (char*) pMultiMeta); + pMultiMeta->contLen = (int32_t) (msg - (char*) pMultiMeta); pMultiMeta->numOfTables = htonl(pMultiMeta->numOfTables); pMsg->rpcRsp.rsp = pMultiMeta;