TD-1912 comile error in windows

This commit is contained in:
Shengliang Guan 2020-11-04 14:45:03 +08:00
parent 30e147df95
commit 03d7e80de1
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ int64_t taosWriteImp(int32_t fd, void *buf, int64_t n) {
}
int64_t taosLSeekImp(int32_t fd, int64_t offset, int32_t whence) {
return tlseek(fd, offset, whence);
return (int64_t)tlseek(fd, (long)offset, whence);
}
#ifndef TAOS_OS_FUNC_FILE_SENDIFLE