diff --git a/source3/modules/vfs_prealloc.c b/source3/modules/vfs_prealloc.c index 3293b4ec8e0..15be7d121bc 100644 --- a/source3/modules/vfs_prealloc.c +++ b/source3/modules/vfs_prealloc.c @@ -122,7 +122,7 @@ static int prealloc_open(vfs_handle_struct* handle, mode_t mode) { int fd; - off64_t size = 0; + off_t size = 0; const char * dot; char fext[10]; diff --git a/source3/modules/vfs_readahead.c b/source3/modules/vfs_readahead.c index 8e6fd43aae8..b48d95faa96 100644 --- a/source3/modules/vfs_readahead.c +++ b/source3/modules/vfs_readahead.c @@ -20,7 +20,7 @@ #include "smbd/smbd.h" #if defined(HAVE_LINUX_READAHEAD) && ! defined(HAVE_READAHEAD_DECL) -ssize_t readahead(int fd, off64_t offset, size_t count); +ssize_t readahead(int fd, off_t offset, size_t count); #endif struct readahead_data {