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-Tag: 2.0.26~135 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=92c68926f4c3acad92321cdbf3d8ac0db596b04d;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@91220 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index 564e9a783ba..52f1643c7ce 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/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