[TD-225]fix compiler error.

This commit is contained in:
Haojun Liao 2020-12-15 18:31:20 +08:00
parent 5c727b3fbe
commit cb2dfb688b
1 changed files with 1 additions and 1 deletions

View File

@ -1331,7 +1331,7 @@ int tscBuildCreateTableMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
tscGetDBInfoFromTableFullName(p->fullname, pCreate->db);
pMsg = serializeTagData(&p->tagdata, pMsg);
int32_t len = pMsg - (char*) pCreate;
int32_t len = (int32_t)(pMsg - (char*) pCreate);
pCreate->len = htonl(len);
}
} else { // create (super) table