Fix signed/unsigned warning.
authorGeoff Thorpe <geoff@openssl.org>
Tue, 5 Aug 2008 17:48:02 +0000 (17:48 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Tue, 5 Aug 2008 17:48:02 +0000 (17:48 +0000)
ssl/s3_both.c

index 06e761b..361ecf1 100644 (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)
                {