[TD-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-01-11 13:29:16 +08:00
parent 95e75e8626
commit da6371b5b2
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ bool taosMbsToUcs4(char *mbs, size_t mbsLength, char *ucs4, int32_t ucs4_max_len
iconv_close(cd);
if (len != NULL) {
*len = ucs4_max_len - outLeft;
*len = (int32_t)(ucs4_max_len - outLeft);
}
return true;