]> granicus.if.org Git - apache/commitdiff
Clean up a few incompatible pointer types (int * vs. unsigned int *).
authorJeff Trawick <trawick@apache.org>
Thu, 26 Oct 2000 12:03:07 +0000 (12:03 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 26 Oct 2000 12:03:07 +0000 (12:03 +0000)
Submitted by: Cliff Woolley <cliffwoolley@yahoo.com>
Reviewed by: Jeff Trawick

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

modules/http/http_core.c

index 5d21198ad5c81aef570419e7ba80869559441bf4..4e84eb451332e8d1e0c70fca0d34330f3430b1fd 100644 (file)
@@ -2564,7 +2564,7 @@ static const char *set_limit_nproc(cmd_parms *cmd, void *conf_,
 #endif
 
 static apr_status_t writev_it_all(apr_socket_t *s, struct iovec *vec, int nvec, 
-                                  apr_size_t len, apr_size_t *nbytes)
+                                  apr_ssize_t len, apr_ssize_t *nbytes)
 {
     apr_size_t bytes_written = 0;
     apr_status_t rv;
@@ -2610,12 +2610,12 @@ static apr_status_t writev_it_all(apr_socket_t *s, struct iovec *vec, int nvec,
  */
 static apr_status_t send_the_file(conn_rec *c, apr_file_t *fd, 
                                   apr_hdtr_t *hdtr, apr_off_t offset, 
-                                  apr_size_t length, apr_size_t *nbytes) 
+                                  apr_ssize_t length, apr_ssize_t *nbytes) 
 {
     apr_status_t rv = APR_SUCCESS;
     apr_int32_t togo;         /* Remaining number of bytes in the file to send */
-    apr_size_t sendlen = 0;
-    apr_size_t bytes_sent;
+    apr_ssize_t sendlen = 0;
+    apr_ssize_t bytes_sent;
     apr_int32_t i;
     apr_off_t o;              /* Track the file offset for partial writes */
     char buffer[8192];