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 06e761b4b276294a5b8a5b885b08081f99097854..361ecf1f9f83eadcdf9286e040a725189b39a925 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)
                {