Fix signed/unsigned warning.

This commit is contained in:
Geoff Thorpe 2008-08-05 17:48:02 +00:00
parent 6d6c47980e
commit 99649b5990

View File

@ -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)
{