[TD-225] fix compiler error.

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

View File

@ -2594,7 +2594,7 @@ void tscSVgroupInfoCopy(SVgroupInfo* dst, const SVgroupInfo* src) {
}
char* serializeTagData(STagData* pTagData, char* pMsg) {
int32_t n = strlen(pTagData->name);
int32_t n = (int32_t) strlen(pTagData->name);
*(int32_t*) pMsg = htonl(n);
pMsg += sizeof(n);