fix type error of __off_t

This commit is contained in:
Frozen 2019-12-20 11:44:49 +08:00
parent 1f6f94afae
commit c04a890124
1 changed files with 1 additions and 1 deletions

View File

@ -579,7 +579,7 @@ static int vnodeCloseImportFiles(SMeterObj *pObj, SImportHandle *pHandle) {
SVnodeObj *pVnode = vnodeList + pObj->vnode;
char dpath[TSDB_FILENAME_LEN] = "\0";
SCompInfo compInfo;
__off_t offset = 0;
off_t offset = 0;
if (pVnode->nfd > 0) {
offset = lseek(pVnode->nfd, 0, SEEK_CUR);