From 7f31f4cd6ecff0c1e1c6ec581a5c7e6e3419fe5f Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 19 Dec 1999 10:05:15 +0000 Subject: [PATCH] Remove some nuisance warnings by changing int to ap_ssize_t. Also add a default MPM_METHOD for BeOS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84315 13f79535-47bb-0310-9956-ffa450edef68 --- modules/echo/mod_echo.c | 3 +-- modules/http/http_protocol.c | 3 ++- server/util_md5.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/echo/mod_echo.c b/modules/echo/mod_echo.c index 12a704d72b..9fa543de95 100644 --- a/modules/echo/mod_echo.c +++ b/modules/echo/mod_echo.c @@ -38,8 +38,7 @@ static int process_echo_connection(conn_rec *c) for( ; ; ) { - int w; - int r; + ap_ssize_t r, w; (void) ap_bread(c->client,buf,sizeof buf,&r); if(r <= 0) break; diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 4624ce3e57..21a1bac48d 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2337,7 +2337,8 @@ API_EXPORT(int) ap_rprintf(request_rec *r, const char *fmt,...) API_EXPORT_NONSTD(int) ap_rvputs(request_rec *r,...) { va_list args; - int i, j, k; + ap_ssize_t i; + int j, k; const char *x; BUFF *fb = r->connection->client; ap_status_t rv; diff --git a/server/util_md5.c b/server/util_md5.c index aceeae69db..ed6432c2a4 100644 --- a/server/util_md5.c +++ b/server/util_md5.c @@ -217,7 +217,7 @@ API_EXPORT(char *) ap_md5digest(ap_context_t *p, ap_file_t *infile) AP_MD5_CTX context; unsigned char buf[1000]; long length = 0; - int nbytes; + ap_ssize_t nbytes; ap_MD5Init(&context); nbytes = sizeof(buf); -- 2.50.1