diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_prealloc.c | 2 | ||||
-rw-r--r-- | source3/modules/vfs_readahead.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_prealloc.c b/source3/modules/vfs_prealloc.c index 3293b4ec8e..15be7d121b 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 8e6fd43aae..b48d95faa9 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 { |