From: William A. Rowe Jr Date: Mon, 1 Oct 2001 16:07:17 +0000 (+0000) Subject: BIO_write returns an int. Whacha gonna do? Kill the last non-ab warning. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=511bfcd191e88c1c368fe8fb371e87420ca5a974;p=thirdparty%2Fapache%2Fhttpd.git BIO_write returns an int. Whacha gonna do? Kill the last non-ab warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@91220 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index 564e9a783ba..52f1643c7ce 100644 --- a/ssl_engine_io.c +++ b/ssl_engine_io.c @@ -259,7 +259,7 @@ static apr_status_t churn(SSLFilterRec *pRec, n = BIO_write (pRec->pbioRead, data, len); - if (n != len) { + if ((apr_size_t)n != len) { /* this should never really happen, since we're just writing * into a memory buffer, unless, of course, we run out of * memory