@@ -547,7 +547,7 @@ static int
547547HgfsDoRead (HgfsHandle handle , // IN: Handle for this file
548548 char * buf , // OUT: Buffer to copy data into
549549 size_t count , // IN: Number of bytes to read
550- loff_t offset ) // IN: Offset at which to read
550+ off64_t offset ) // IN: Offset at which to read
551551{
552552 HgfsReq * req ;
553553 HgfsOp opUsed ;
@@ -708,11 +708,11 @@ ssize_t
708708HgfsRead (struct fuse_file_info * fi , // IN: File info struct
709709 char * buf , // OUT: User buffer to copy data into
710710 size_t count , // IN: Number of bytes to read
711- loff_t offset ) // IN: Offset at which to read
711+ off64_t offset ) // IN: Offset at which to read
712712{
713713 int result = 0 ;
714714 char * buffer = buf ;
715- loff_t curOffset = offset ;
715+ off64_t curOffset = offset ;
716716 size_t nextCount , remainingCount = count ;
717717 uint32 maxIOSize = HgfsMaxIOSize ();
718718
@@ -769,7 +769,7 @@ static int
769769HgfsDoWrite (HgfsHandle handle , // IN: Handle for the file
770770 const char * buf , // IN: Buffer containing data
771771 size_t count , // IN: Number of bytes to write
772- loff_t offset ) // IN: Offset to begin writing at
772+ off64_t offset ) // IN: Offset to begin writing at
773773{
774774 HgfsReq * req ;
775775 int result = 0 ;
@@ -893,11 +893,11 @@ ssize_t
893893HgfsWrite (struct fuse_file_info * fi , // IN: File info structure
894894 const char * buf , // OUT: User buffer to copy data into
895895 size_t count , // IN: Number of bytes to read
896- loff_t offset ) // IN: Offset at which to read
896+ off64_t offset ) // IN: Offset at which to read
897897{
898898 int result ;
899899 const char * buffer = buf ;
900- loff_t curOffset = offset ;
900+ off64_t curOffset = offset ;
901901 size_t nextCount , remainingCount = count ;
902902 ssize_t bytesWritten = 0 ;
903903 uint32 maxIOSize = HgfsMaxIOSize ();
0 commit comments