summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sendfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sendfile.c b/source3/lib/sendfile.c
index ccebd25cc1..bcc8cb08ca 100644
--- a/source3/lib/sendfile.c
+++ b/source3/lib/sendfile.c
@@ -38,7 +38,7 @@ ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T of
{
size_t total=0;
ssize_t ret;
- ssize_t hdr_len = 0;
+ size_t hdr_len = 0;
/*
* Send the header first.