fix compile error

This commit is contained in:
Shengliang Guan 2021-03-18 22:31:27 +08:00
parent 000eac7421
commit bee74151bb
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ int64_t taosCopyFds(SOCKET sfd, int32_t dfd, int64_t len) {
return -1;
}
writeLen = taosWriteMsg(dfd, temp, readLen);
writeLen = taosWriteMsg(dfd, temp, (int32_t)readLen);
if (readLen != writeLen) {
uError("copy error, readLen:%" PRId64 " writeLen:%" PRId64 " len:%" PRId64 " leftLen:%" PRId64 ", reason:%s",