summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-16 02:02:23 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-16 02:02:23 +0000
commitb5ae49544d8e389595a3b076466498912de42081 (patch)
tree097e9c2218d7e4cd3c62bd4af1b5fbc8516bb707
parentaf8a5d79682410482646eea075dff2d344d60e31 (diff)
downloadsamba-b5ae49544d8e389595a3b076466498912de42081.tar.gz
samba-b5ae49544d8e389595a3b076466498912de42081.tar.xz
samba-b5ae49544d8e389595a3b076466498912de42081.zip
Fix a signed/unsigned warning.
-rw-r--r--source/lib/sendfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/sendfile.c b/source/lib/sendfile.c
index ccebd25cc1a..bcc8cb08ca1 100644
--- a/source/lib/sendfile.c
+++ b/source/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.