diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index d0d0cb9e7bb487413b0997ad9baf7e4605bb8fd4..35ae9e4d4c9744c1e543a2bb0dd2e5cc5dd80c9d 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -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);