summaryrefslogtreecommitdiff
path: root/source3
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
commit078468a1474ec09b11b43c808852feca8df32f1a (patch)
tree6a3fd40466d82f41948e5d2b93cfba22790d8bfe /source3
parent1e19c4a609e84bed5312ad8f16180642f294e85c (diff)
downloadsamba-078468a1474ec09b11b43c808852feca8df32f1a.tar.gz
samba-078468a1474ec09b11b43c808852feca8df32f1a.tar.bz2
samba-078468a1474ec09b11b43c808852feca8df32f1a.zip
Fix a signed/unsigned warning.
(This used to be commit b5ae49544d8e389595a3b076466498912de42081)
Diffstat (limited to 'source3')
-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.