TD-1912 comile error in windows
This commit is contained in:
parent
30e147df95
commit
03d7e80de1
|
@ -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) {
|
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
|
#ifndef TAOS_OS_FUNC_FILE_SENDIFLE
|
||||||
|
|
Loading…
Reference in New Issue