Fix a signed/unsigned warning.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 16 Jan 2003 02:02:23 +0000 (02:02 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 16 Jan 2003 02:02:23 +0000 (02:02 +0000)
source/lib/sendfile.c

index ccebd25cc1aae1fe8fd50608e5787ba00a3ec1b1..bcc8cb08ca1f2d2ba7c768a119e023efd81242f3 100644 (file)
@@ -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.