windows compile
This commit is contained in:
parent
3e31cdbeae
commit
57502cd9c0
|
@ -155,8 +155,6 @@ void taosGetDisk() {
|
||||||
tsTotalTmpDirGB = (float)(i64TotalBytes / unit);
|
tsTotalTmpDirGB = (float)(i64TotalBytes / unit);
|
||||||
tsAvailTmpDirectorySpace = (float)(i64FreeBytes / unit);
|
tsAvailTmpDirectorySpace = (float)(i64FreeBytes / unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool taosGetBandSpeed(float *bandSpeedKb) {
|
bool taosGetBandSpeed(float *bandSpeedKb) {
|
||||||
|
|
|
@ -483,5 +483,5 @@ int32_t taosCopyFds(SOCKET sfd, int32_t dfd, int64_t len) {
|
||||||
leftLen -= readLen;
|
leftLen -= readLen;
|
||||||
}
|
}
|
||||||
|
|
||||||
return len;
|
return (int32_t)len;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue