From: Geoff Thorpe Date: Tue, 5 Aug 2008 17:48:02 +0000 (+0000) Subject: Fix signed/unsigned warning. X-Git-Tag: OpenSSL_0_9_8k^2~284 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99649b599083c484a6eb57893976fabeb48952e8;p=oweals%2Fopenssl.git Fix signed/unsigned warning. --- diff --git a/ssl/s3_both.c b/ssl/s3_both.c index 06e761b4b2..361ecf1f9f 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -620,7 +620,7 @@ freelist_extract(SSL_CTX *ctx, int for_read, int sz) CRYPTO_w_lock(CRYPTO_LOCK_SSL_CTX); list = for_read ? ctx->rbuf_freelist : ctx->wbuf_freelist; - if (list != NULL && sz == list->chunklen) + if (list != NULL && sz == (int)list->chunklen) ent = list->head; if (ent != NULL) {