]> granicus.if.org Git - apache/commitdiff
Fix some types in the latest tree, so that AIX builds cleanly again.
authorRyan Bloom <rbb@apache.org>
Mon, 9 Oct 2000 19:03:27 +0000 (19:03 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 9 Oct 2000 19:03:27 +0000 (19:03 +0000)
Submitted by:   Victor J. Orlikowski <v.j.orlikowski@gte.net>
Reviewed by:    Ryan Bloom

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

modules/generators/mod_cgid.c
modules/http/http_core.c
modules/http/http_protocol.c

index f4bbb54780ef430dd2cb29d35cb1ff53fb0e16c4..a07c37fe464fa66b205aaad0869952e1531fe391 100644 (file)
@@ -841,7 +841,7 @@ static int cgid_handler(request_rec *r)
     char **env; 
     struct sockaddr_un unix_addr;
     apr_file_t *tempsock = NULL;
-    int nbytes;
+    apr_ssize_t nbytes;
 
     if (r->method_number == M_OPTIONS) { 
         /* 99 out of 100 cgid scripts, this is all they support */ 
index 8ecf2a1dc55037ec74e77dcb89e38dda3ffaae44..8282345c2ced5576c23972e3cd823c773f0a045c 100644 (file)
@@ -2541,7 +2541,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_ssize_t *nbytes)
+                                  apr_size_t len, apr_size_t *nbytes)
 {
     apr_size_t bytes_written = 0;
     apr_status_t rv;
@@ -3274,8 +3274,7 @@ static int core_input_filter(ap_filter_t *f, ap_bucket_brigade *b)
  */
 #define ASCII_LF '\012'
     char *buff;
-    apr_size_t length = HUGE_STRING_LEN;
-    apr_size_t templen;
+    apr_ssize_t length = HUGE_STRING_LEN, templen;
     apr_socket_t *csock = NULL;
     apr_status_t rv;
     ap_bucket *e;
index a97f362e9d8edbbdbbc2389da217a5a2c35a1b1f..282842102c7724d04ca19a99df36b632810c371a 100644 (file)
@@ -866,7 +866,7 @@ int http_filter(ap_filter_t *f, ap_bucket_brigade *b)
 #define ASCII_LF '\012'
     ap_bucket *e;
     char *buff;
-    int length;
+    apr_ssize_t length;
     char *pos;
     int state = 0;
     http_ctx_t *ctx = f->ctx;
@@ -963,7 +963,7 @@ static int getline(char *s, int n, conn_rec *c, int fold)
     const char *temp;
     int retval;
     int total = 0;
-    int length;
+    apr_ssize_t length;
     ap_bucket_brigade *b;
     ap_bucket *e;