Hopefully resolve signed vs unsigned issue.
[oweals/openssl.git] / 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)
                {