mirror of
https://github.com/samba-team/samba.git
synced 2025-08-08 13:49:29 +03:00
Cast to fix warning on Solaris sendfile - check buildfarm output
to see if this works! Bug #706.
This commit is contained in:
@ -161,7 +161,7 @@ ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T of
|
||||
|
||||
vec[0].sfv_fd = SFV_FD_SELF;
|
||||
vec[0].sfv_flag = 0;
|
||||
vec[0].sfv_off = header->data;
|
||||
vec[0].sfv_off = (off_t)header->data;
|
||||
vec[0].sfv_len = hdr_len = header->length;
|
||||
|
||||
vec[1].sfv_fd = fromfd;
|
||||
|
Reference in New Issue
Block a user