windows compile

This commit is contained in:
Shengliang Guan 2021-01-31 21:30:56 +08:00
parent 3e31cdbeae
commit 57502cd9c0
2 changed files with 1 additions and 3 deletions

View File

@ -155,8 +155,6 @@ void taosGetDisk() {
tsTotalTmpDirGB = (float)(i64TotalBytes / unit);
tsAvailTmpDirectorySpace = (float)(i64FreeBytes / unit);
}
return true;
}
bool taosGetBandSpeed(float *bandSpeedKb) {

View File

@ -483,5 +483,5 @@ int32_t taosCopyFds(SOCKET sfd, int32_t dfd, int64_t len) {
leftLen -= readLen;
}
return len;
return (int32_t)len;
}