[TD-225]fix compiler error.
This commit is contained in:
parent
5c727b3fbe
commit
cb2dfb688b
|
@ -1331,7 +1331,7 @@ int tscBuildCreateTableMsg(SSqlObj *pSql, SSqlInfo *pInfo) {
|
||||||
tscGetDBInfoFromTableFullName(p->fullname, pCreate->db);
|
tscGetDBInfoFromTableFullName(p->fullname, pCreate->db);
|
||||||
pMsg = serializeTagData(&p->tagdata, pMsg);
|
pMsg = serializeTagData(&p->tagdata, pMsg);
|
||||||
|
|
||||||
int32_t len = pMsg - (char*) pCreate;
|
int32_t len = (int32_t)(pMsg - (char*) pCreate);
|
||||||
pCreate->len = htonl(len);
|
pCreate->len = htonl(len);
|
||||||
}
|
}
|
||||||
} else { // create (super) table
|
} else { // create (super) table
|
||||||
|
|
Loading…
Reference in New Issue