summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/vfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index b6b6b1c0f1..a57dcddade 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -678,7 +678,8 @@ static ssize_t vfs_write_fn(void *file, const void *buf, size_t len)
SMB_OFF_T vfs_transfer_file(files_struct *in, files_struct *out, SMB_OFF_T n)
{
- return transfer_file_internal(in, out, n, vfs_read_fn, vfs_write_fn);
+ return transfer_file_internal((void *)in, (void *)out, n,
+ vfs_read_fn, vfs_write_fn);
}
/*******************************************************************