diff options
author | Michael Adam <obnox@samba.org> | 2008-01-10 13:55:16 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-10 14:28:12 +0100 |
commit | 10da70325b899bfbebf5a6eeef69838fe9d346bb (patch) | |
tree | 100abd0c0323cb5ddeb9ab3ce2b6ab719d6fa9be /source3 | |
parent | 9f6d0479d795ca4f8d91a3e170f66e29cf16a16b (diff) | |
download | samba-10da70325b899bfbebf5a6eeef69838fe9d346bb.tar.gz samba-10da70325b899bfbebf5a6eeef69838fe9d346bb.tar.bz2 samba-10da70325b899bfbebf5a6eeef69838fe9d346bb.zip |
Make casts to (void *) explicit to remove compiler warnings.
Michael
(This used to be commit cbbfbd7a63fe0fc479a1b63b4552c713633dd6be)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/vfs.c | 3 |
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); } /******************************************************************* |