fix: use off_t for lseek

This commit is contained in:
Ryo Nakamura
2023-09-08 17:19:13 +09:00
parent 19704a7308
commit 72841ec12d
2 changed files with 3 additions and 3 deletions

View File

@@ -278,9 +278,9 @@ void mscp_close(mf *f)
free(f);
}
int mscp_lseek(mf *f, size_t off)
off_t mscp_lseek(mf *f, off_t off)
{
int ret;
off_t ret;
if (f->remote) {
ret = sftp_seek64(f->remote, off);