]> granicus.if.org Git - apache/commitdiff
fix an apr_size_t/apr_ssize_t discrepancy
authorJeff Trawick <trawick@apache.org>
Tue, 28 Nov 2000 00:17:38 +0000 (00:17 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 28 Nov 2000 00:17:38 +0000 (00:17 +0000)
Submitted by: Victor J. Orlikowski

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87097 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c

index e3c5cf2c1078b3ef3ede56b68b6198cb73904e00..4347dad9d6734585d01de484687a3da28ebf09f2 100644 (file)
@@ -2596,7 +2596,7 @@ static apr_status_t sendfile_it_all(conn_rec   *c,
                        &timeout) == APR_SUCCESS) && 
                      timeout > 0);  /* socket must be in timeout mode */ 
     do {
-        apr_ssize_t tmplen = file_bytes_left;
+        apr_size_t tmplen = file_bytes_left;
         
         rv = apr_sendfile(c->client_socket, fd, hdtr, &file_offset, &tmplen, 
                           flags);