提交 99649b59 编写于 作者: G Geoff Thorpe

Fix signed/unsigned warning.

上级 6d6c4798
...@@ -620,7 +620,7 @@ freelist_extract(SSL_CTX *ctx, int for_read, int sz) ...@@ -620,7 +620,7 @@ freelist_extract(SSL_CTX *ctx, int for_read, int sz)
CRYPTO_w_lock(CRYPTO_LOCK_SSL_CTX); CRYPTO_w_lock(CRYPTO_LOCK_SSL_CTX);
list = for_read ? ctx->rbuf_freelist : ctx->wbuf_freelist; 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; ent = list->head;
if (ent != NULL) if (ent != NULL)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册