[TD-225]fix compiler error.
This commit is contained in:
parent
95e75e8626
commit
da6371b5b2
|
@ -58,7 +58,7 @@ bool taosMbsToUcs4(char *mbs, size_t mbsLength, char *ucs4, int32_t ucs4_max_len
|
||||||
|
|
||||||
iconv_close(cd);
|
iconv_close(cd);
|
||||||
if (len != NULL) {
|
if (len != NULL) {
|
||||||
*len = ucs4_max_len - outLeft;
|
*len = (int32_t)(ucs4_max_len - outLeft);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue